Run a model without simulink?

15 次查看(过去 30 天)
Michelle
Michelle 2012-9-24
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
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
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by