Skip to Main Content Skip to Search
Product Documentation

Model Info - Display model properties and text in model

Library

Model-Wide Utilities

Description

The Model Info block displays model properties and text about a model on the mask of the block. Use the Model Info block dialog box to specify the content and format of the text that the block displays. You can select model properties to display on the block. In the text displayed on the block mask, Simulink replaces the property name with the current value of the property in the model.

Data Type Support

Not applicable.

Parameters and Dialog Box

Specify Text and Properties to Display

Use the Enter text and tokens to display on Model Info block edit box to specify the text and properties to display.

If you save your model in SLX format, third-party tools cannot perform keyword substitution. Any information in the MDL file from such third-party tool keyword substitution is cached when you first save the MDL file as SLX, and is never updated again. The Model Info block shows stale information from then on, so remove third-party tool keyword substitution from Model Info blocks to ensure up-to-date displays.

Configuration Manager Properties

The Configuration manager properties field is enabled only if you previously specified an external configuration manager for this model on the MATLAB Preferences dialog box for the model. The field lists version control information maintained by the external system that you can include in the Model Info block. To include an item from the list, select it and then click the adjacent arrow button.

If you save your model in SLX format, keyword substitution of version information is not available and you cannot add new configuration manager properties in the Model Info block. For existing Configuration manager properties, the block detects the problem, removes stale version information and instead displays: "Not available in SLX model file format".

For a more flexible interface to source control tools, use the Simulink Project Tool instead of the Model Info block. See Managing Projects.

  


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