필터 지우기
필터 지우기

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 CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by