I'm using output inline for my script but it creates super long data that is displayed, So I want to hide or shorten the list, So is this possible. Thank you.

1 Ansicht (letzte 30 Tage)

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 10 Dez. 2021
Inside kinetic_mechanism there are assignments to TAG, dA, and dFAE that do not end in semi-colon. You need to add semi-colons to those assignments.
For example,
dA = atanh(TAG, y(2))
would become
dA = atanh(TAG, y(2));
  5 Kommentare
Walter Roberson
Walter Roberson am 11 Dez. 2021
TAG = C(2)'
dA =-k3*(TAG*A)+k4*(FAE*DAG)-k5*(DAG*A)+k6*(FAE*DAG)-k7*(MAG*A)+k8*(FAE*GLY)
dFAE = k3*(TAG*A)-k4*(FAE*DAG)+k5*(DAG*A)-k6*(FAE*DAG)+k7*(MAG*A)-k8*(FAE*GLY)
You did not end any of those lines with semi-colon.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Function Creation finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by