what command can be used to compile a model

I am trying to automate model advisor using script. I opened a model using open_system('model_name'). Now I want to compile model alone instead of simulating model. So that I can save time.
I tried with model_name([],[],[],'compile') and model_name([],[],[],'term')command
Is there any other commands available in matlab.
It would be thankful for any kind of replies.

 Akzeptierte Antwort

David
David am 26 Feb. 2014

0 Stimmen

Hi Vandhana,
try ctrl + b (strg + b) if u installed a compiler the model now gets compiled in your current Folder.
Greetings

2 Kommentare

Vandhana
Vandhana am 26 Feb. 2014
Thanks David,
I supposed to write a script using commands to compile model, can't be used with any shortcuts.
Vandhana
Vandhana am 23 Apr. 2016
ctrl+D is shortcut for updating model. Then for simulation could try ctrl+T.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Produkte

Tags

Gefragt:

am 26 Feb. 2014

Kommentiert:

am 23 Apr. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by