フィルターのクリア

how can I call matlabFunction without optimize

2 ビュー (過去 30 日間)
Kevin
Kevin 2013 年 7 月 27 日
回答済み: Andreas Sorgatz 2017 年 8 月 25 日
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...

回答 (1 件)

Andreas Sorgatz
Andreas Sorgatz 2017 年 8 月 25 日
Use
f = matlabFunction(YourExpression,'File','YourFileName','Optimize',false);

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by