Hi, I am trying to use matlab compiler to create a standalone application out of my GUI. Unfortunately in the GUI I must use 'sim' and 'simset' to call some simulink model. Does anyone have an idea how to work this out?
The SIM and SIMSET command can not be called from the MATLAB Compiler (This is documentedhere). To build a standalone GUI that runs your simulation, you need to make the simulation standalone, then build the GUI to run that.
This can be accomplished by using Simulink Coder (or Real-Time Workshop in earlier released) to build a standalone executable. This executable can be called by the GUI to run. The outputs of the simulation executable can be loaded by the GUI and analyzed.
Hi. In this day, I'm having the same problem. I found this thread perfectly relevant to my problem. Obviously, there is another problem. All of the proposed links are not available. :( Could you help me, please.