Matlab App Designer/ Simulink block to workspace is not working
1 回表示 (過去 30 日間)
古いコメントを表示
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);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/296268/image.jpeg)
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.
0 件のコメント
回答 (1 件)
Nishant Gupta
2020 年 5 月 29 日
Refer to the following similar case as yours, it might help you:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!