Undefined function 'simset' for input arguments of type 'char'.
이전 댓글 표시
Hello,
I have a main GUI (Optimizer) that calls another GUI (Simulation), and this one runs a simulink model. In the Simulation GUI, I have a .m file and in this file I have the following line:
options = simset('SrcWorkspace','current');
When I run the code directly from the Simulation GUI, I've got no problems. However, when I run the Optimizer GUI I get the following error:
Error Message:
Undefined function 'simset' for input arguments of type 'char'.
How can I fix this? Any ideas?
Thanks in advance!
답변 (1개)
Jim Riggs
2020년 2월 11일
0 개 추천
simset is an obsolete function.
댓글 수: 2
Pedro Augusto de Castro e Castro
2020년 2월 13일
Jim Riggs
2020년 2월 13일
It's hard to say. Obsolete functions are no longer supported. They may cause unexpected results.
카테고리
도움말 센터 및 File Exchange에서 App Building에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!