Azzera filtri
Azzera filtri

Run a model without simulink?

15 visualizzazioni (ultimi 30 giorni)
Michelle
Michelle il 24 Set 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)

Risposte (2)

Azzi Abdelmalek
Azzi Abdelmalek il 24 Set 2012
Modificato: Azzi Abdelmalek il 24 Set 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 il 24 Set 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 Commenti
Walter Roberson
Walter Roberson il 24 Set 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 il 25 Set 2012
+1 for Simulink Coder.

Accedi per commentare.

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by