how can I call matlabFunction without optimize
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I call matlabFunction to generate the M-file from a Sym expression, but it take a very long time(about hours). And every time I stop it by Ctrl+C, it shows that it's stop at the MuPad/Optimize process, So how I can ignore the optimize option? my expression is very simple but very long, 10 vars, the highest order is 4, only have the +,-,*,/ operator, no sin, epx, sqrt...
0 commentaires
Réponses (1)
Andreas Sorgatz
le 25 Août 2017
Use
f = matlabFunction(YourExpression,'File','YourFileName','Optimize',false);
0 commentaires
Voir également
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!