Using RTW and Compiler

Stand alone application example using rapid simulation file.
4,8K téléchargements
Mise à jour 10 sept. 2002

Afficher la licence

This example shows how to create a rapid simulation target from a Simulink model using RTW, and then create a GUI, which is then compiled into stand alone application by MATLAB compiler to control the parameters tuning of the rapid simulation file. The generated application are able to run under the machine w/o MATLAB. (follow the intruction in "distributing stand alone application" in compiler manual)

Steps:
1) Build the Simulink model using RTW into rapid simulation target. (guide302model.mdl --> guide302model.exe)
2) The GUI already greated (guide302.m and .fig) use following command to compile the GUI
>>mcc -B sglcpp guide302.m
3) The exe file (together with other relevant files) now should be able to run by double clicking on the file in windows explorer. (or use bang operator in MATLAB)

Citation pour cette source

Tan Chin Luh (2024). Using RTW and Compiler (https://www.mathworks.com/matlabcentral/fileexchange/2357-using-rtw-and-compiler), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R12.1
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Simulink Real-Time dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0