Run a model without simulink?

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)

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 9 月 24 日
編集済み: Azzi Abdelmalek 2012 年 9 月 24 日

1 投票

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 2012 年 9 月 24 日

0 投票

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 件のコメント

Walter Roberson
Walter Roberson 2012 年 9 月 24 日
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 2012 年 9 月 25 日
+1 for Simulink Coder.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

タグ

タグが未入力です。

質問済み:

2012 年 9 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by