Effacer les filtres
Effacer les filtres

How to interface simulink model file after converting in to exe file

1 vue (au cours des 30 derniers jours)
shankar
shankar le 28 Juil 2011
we have one simulink model file for image processing. we created a gui for this model successfully. then we converted this gui .m file to exe file using matlab commands. it generated a exe file. we closed our matlab and executed that exe file. here it shown gui we browsed input image and then clicked run button. here we got error. Is this correct procedure to create exe file for a simulink model or not.

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 28 Juil 2011
Did you use MATLAB Compiler to generate an EXE for your MATLAB code? MATLAB Compiler does not support Simulink functionality. What you need to do is use Simulink Coder (formerly, Real-Time Workshop) to generate C code from your Simulink model, and then call that from your standalone GUI executable. See this previous answer for more information: http://www.mathworks.com/matlabcentral/answers/10193-matlab-compiler-and-simulink

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by