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 vue (au cours des 30 derniers jours)

Réponse acceptée

Walter Roberson
Walter Roberson le 10 Déc 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 commentaires
Walter Roberson
Walter Roberson le 11 Déc 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Function Creation dans Help Center et File Exchange

Tags

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by