Skip to Main Content Skip to Search
Product Documentation

Refreshing Model Blocks

Refreshing a Model block updates its internal representation to reflect changes in the interface of the model that it references.

Examples of when to refresh a Model block include:

You do not need to refresh a Model block if the changes to the interface of the referenced model do not affect how the referenced model interfaces to its parent.

To refresh all Model blocks in a model (as well as linked blocks in a library or model), in the Model Editor select Edit > Links and Model Blocks > Refresh. You can also refresh a model by starting a simulation or generating code.

To update a specific Model block, select Refresh from the context menu of the Model block.

You can use Simulink diagnostics to detect changes in the interfaces of referenced models that could require refreshing the Model blocks that reference them. The diagnostics include:

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS