what command can be used to compile a model

16 views (last 30 days)
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.

Accepted Answer

David
David on 26 Feb 2014
Hi Vandhana,
try ctrl + b (strg + b) if u installed a compiler the model now gets compiled in your current Folder.
Greetings
  2 Comments
Vandhana
Vandhana on 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 on 23 Apr 2016
ctrl+D is shortcut for updating model. Then for simulation could try ctrl+T.

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!