Matlab App Designer/ Simulink block to workspace is not working

14 views (last 30 days)
Matus Vaculik
Matus Vaculik on 21 May 2020
Answered: Nishant Gupta on 29 May 2020
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.
because of this issue, Matlab compiler gives me error, that it does not have enough parameters.
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.

Community Treasure Hunt

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

Start Hunting!

Translated by