Can I pass the model name into the ([],[],[],'compile') command?
Afficher commentaires plus anciens
for example, it at first works with f14([],[],[],'compile'); But now i want to write this command into a function, and i want to do something like this: function compile(MyModel) MyModel([],[],[],'compile');
-------------- And MyModel is some name i will pass in. When i try to do this it prompt some error to me. "??? Index exceeds matrix dimensions." Why?
Thank you very much.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Configure and View Diagnostics 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!