Build executable file for a GUI-Simulink model
4 views (last 30 days)
Show older comments
May anyone guide about how to construct a stand alone executable file for a MATLAB GUI that displays the graphs generated by a Simulink file. Does MATLAB Complier support Simulink-based files?
Thanks.
1 Comment
Fangjun Jiang
on 12 Sep 2011
To clarify, are you running a simulation of the Simulink model and at the same time, running a customized GUI to display the dynamic results of the Simulink model?
Answers (2)
Fangjun Jiang
on 11 Sep 2011
No. It doesn't support Simulink model. To create executable for a Simulink model, you need the Simulink Coder toolbox.
0 Comments
ANUBHAV SINHA
on 12 Sep 2011
1 Comment
Fangjun Jiang
on 12 Sep 2011
Simulink Coder is the new name in new release for Realtime Workshop, so you can use RTW for code generation purpose. It's different than Simulink HDL coder, which is to generate HDL code. The steps involved are:
1. Generate C code from Simulink model
2. Compile and build the C code to an .exe file depending on the application target.
Look for details in your RTW document.
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!