Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

Technical Solutions

How do I refresh Model Blocks from the command line?


Date Last Modified: 23 Feb 2007
Solution ID:   1-18HTMD
Product:   Simulink
Reported in Release:   No Release
Fixed in Release:  
Platform:   All Platforms
Operating System:   All OS
 

Subject:

How do I refresh Model Blocks from the command line?

Problem Description:

I want to refresh Model Blocks from the command line. This action is available from the 'Edit' drop down menu of the model window and also as the 'Ctrl+K' shortcut. I want to know the command line equivalent of 'Ctrl+K'.

Solution:

The following set of commands is equivalent to choosing Refresh Model Blocks from the 'Edit' drop down menu of the model window or using the 'Ctrl+K' shortcut:

model_obj = get_param(bdroot,'Object');
model_obj.refreshModelBlocks

  Provide feedback to help us improve this solution!
Contact support
E-mail this page
Print this page