How to read Simulink inputs from Matlab ?
Afficher commentaires plus anciens
Hi all
I am trying to model some mathematical equation in Simulink where some of the inputs are constant number, some are varying with time and some are words like choices (yes or no)
i want to put all my variables in one file (for example .m file to be easily edited) then read it from Simulink.
i tried to write .m file then run it and print variables on the command window or the workspace then put a 'From workspace' block with the variable name in Simulink but i found an error because of 'Invalid matrix-format variable specified as workspace input'
any suggestions ??
Thanks
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Interactive Model Editing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!