lmirosevic
lmirosevic

Reputation: 16317

Can you run a simulink model on the unix command line?

I've developed a head tracking simulink model and am wondering if its possible to somehow run this on a unix based os without any window manager? Simply from the command line.

Upvotes: 1

Views: 2213

Answers (2)

MikeT
MikeT

Reputation: 1644

You can start matlab from a unix prompt without the desktop

% matlab -nodesktop

Then you can simulate the model by just loading it,

>> load_systm('myModel');
>> sim('myModel');

Upvotes: 2

Indicator
Indicator

Reputation: 361

Can you use matlab -r "[matlab statements]" to run your codes?

Upvotes: 1

Related Questions