Hi my friends. I have a simulink model in Matlab. how can I build excute file from that model?
A:
You will need the Matlab compiler to do that. It may or may not be included in your Matlab install. The link explains the how and what and should provide all info you need to get it working. I've never used it, so I can't help you further.
rubenvb
2010-06-20 11:51:06
The Matlab compiler just works for M-files, not for Simulink models.
Pablo Rodriguez
2010-06-23 08:01:06
I'm sure you can save the model (or at least its plot with all data) to an m-file, which you can then us to create an executable. Otherwise it will probably be impossible.
rubenvb
2010-06-23 08:31:25
A:
If you have the MATLAB compiler toolbox, then all you have to type into the command line is:
mcc -m yourmfilenamehere
Doresoom
2010-06-20 14:57:40
+1
A:
The MATLAB compiler won't help, you need Real-Time Workshop to generate C code from a Simulink model.
MikeT
2010-06-22 01:10:05
The Real-Time Workshop can also generate executable code directly.
Pablo Rodriguez
2010-06-23 08:24:14