Matlab App Designer/ Simulink block to workspace is not working

조회 수: 8 (최근 30일)
Matus Vaculik
Matus Vaculik 2020년 5월 21일
답변: Nishant Gupta 2020년 5월 29일
I´m having this issues with Simulink. When I call sim() function in Matlab App designer it does not return value of block to workspace.
simout=sim('gui_sim_model.mdl');
because of this issue, Matlab compiler gives me error, that it does not have enough parameters.
plot(app.UIAxesIK,hodnota.Time,hodnota.Data);
when I run the code from matlab it works, but when I compile it to standalone application it gives error.
How do I simulate the model properly with commands that it does return to worspace values?
Thank you for your time.

답변 (1개)

Nishant Gupta
Nishant Gupta 2020년 5월 29일

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by