Effacer les filtres
Effacer les filtres

Run a model without simulink?

15 vues (au cours des 30 derniers jours)
Michelle
Michelle le 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)

Réponses (2)

Azzi Abdelmalek
Azzi Abdelmalek le 24 Sep 2012
Modifié(e) : Azzi Abdelmalek le 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 le 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 commentaires
Walter Roberson
Walter Roberson le 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 le 25 Sep 2012
+1 for Simulink Coder.

Connectez-vous pour commenter.

Catégories

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

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by