Refreshing Model Blocks

Refreshing a Model block updates its internal representation to reflect changes in the interface of the model that it references. For example, you must refresh a Model block if its referenced model has gained or lost a port. When more than one Model block references a model whose interface has changed, all of the Model blocks must be refreshed. Changes that have no effect on a referenced model's interface to its parent do not require refreshing.

To refresh all of a model's Model blocks, select Refresh Model Blocks from the model's Edit menu. To update a specific Model block, select Refresh from the block's context menu.

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

  


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