How to create a standalone application of a script that calls "sim" function ?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a script that calls teh "sim" function that executes a Simulink model, then there is a analyse of the results and some plots. I'd like to know how can I make this in a standalone executable that can be executed on a machine without Matlab installed.
0 commentaires
Réponses (2)
Marc Jakobi
le 25 Oct 2016
Modifié(e) : Marc Jakobi
le 25 Oct 2016
To create a standalone from a Simulink model, you will need the Simulink Coder. I don't think you will be able to call Simulink via sim() in a standalone.
You cannot call a Simulink model that has been deployed using Simulink Coder by calling the sim() function from within another standalone deployed using deploytool. You will have to call the Simulink executable from the Matlab GUI using a MEX interface .
0 commentaires
Petru-Daniel Morosan
le 25 Oct 2016
1 commentaire
Marc Jakobi
le 25 Oct 2016
I updated my answer.
P. S. please use the comment option to reply to answers.
Voir également
Catégories
En savoir plus sur Verification, Validation, and Test dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!