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

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.

  • In the edit box, enter any text you want to display on the block mask. Edit the default text Model Info.

  • To display a model property on the block mask, select a property in the Model properties list and click the right arrow button.

    The block adds a token of the form %<modelpropertyname> to the edit box. In the text the block mask displays, Simulink will replace the token with the value of the property.

    1. For example, if you select Description in the Model properties list and click the right arrow button, then the token

      %<Description>

      appears in the right edit box.

    2. You could add some explanatory text before the model property, e.g. “Model description:”.

    3. When you click Apply or OK, Simulink displays your new text and the current value of the model property on the block mask in the Model Editor.

    See Version Information Properties for descriptions of the model properties.

If you are interested in source control information, for a flexible interface to source control tools, use Simulink Project. See Source Control in Simulink Project.

Tip

To add text, images, links, and equation annotations to a model, see instead Describe Models Using Annotations.

Characteristics

Data Types

Not applicable

Multidimensional Signals

No

Variable-Size Signals

No

Code Generation

Yes

Introduced before R2006a

Was this topic helpful?