Clear Filters
Clear Filters

Run a model without simulink?

15 views (last 30 days)
Michelle
Michelle on 24 Sep 2012
I have created a simulink model (and I run it in a loop with varying input paramaters a la i=5 then sim(model) save workspace,1=10 then sim then save etc). Its all working great except I have to move it to another machine that only has matlab and not simulink. Does anyone know if I can still run it? if so, how? Do I need to do anything to it to make it run or can I just put it in the path and since the model never needs to be open matlab can handle it?? (fingers crossed)

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 24 Sep 2012
Edited: Azzi Abdelmalek on 24 Sep 2012
The system doesn't need to be opened, does'nt mean that it is not loaded. I think (almost sur) you can't run your simulink model in Matlab without simulink.
there are other options that need other toolbox, simulink coder for example, to generate a c++ code.

Michelle
Michelle on 24 Sep 2012
Ok. So can I translate the model into executable code or into C or M code? Does anyone know how to do that so I can still pass it parameter information and have the results end up in the workspace?
  2 Comments
Walter Roberson
Walter Roberson on 24 Sep 2012
The "MATLAB Compiler" and "MATLAB Coder" cannot be used.
You might be able to use "Simulink Coder" (formerly known as Real Time Workshop); http://www.mathworks.com/products/simulink-coder/index.html
Kaustubha Govind
Kaustubha Govind on 25 Sep 2012
+1 for Simulink Coder.

Sign in to comment.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!