Generation of executables from simulink model

Hello matlab users, I developed one stateflow model and GUI to interact with simulink model.Now I want to generate .exe for that model. I searched in matlab central for this and i found this can be done by using RTW.Is RTW has separate license apart from simulink? Please can anyone help me to do this. Thanks in advance.

Answers (1)

Yes, you do need to get a separate license for RTW (now called Simulink Coder).

5 Comments

Thanks for your response Kaustubha Govind.
Is there any way to get .exe without RTW ?If any post the way how we can do that.
@sai, It is not possible to compile the model in .exe without RTW.
@TAB,I have targetlink toolbox (d space product) from which we are generating code for simulink/stateflow models.Is it possible to generate .exe from those autocode generated files?Please reply me.
@sai,
You can compile the generated code (generated from RTW or targetlink) with any C/C++ compiler manually to generate the .exe.
For this, it can/can't be needed to integrate the generated code with your main function & other handwritten code. It is up to your requirement.
@TAB, Thanks for your response.

Sign in to comment.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Asked:

on 24 Aug 2012

Community Treasure Hunt

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

Start Hunting!