This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Introduction to Model Mask

A model consists of multiple blocks, with each block containing its own parameter and block dialog box. Simulink® enables you to mask a model. By masking a model you encapsulate the model to have its own mask parameter dialog box. You can customize the mask parameter dialog box. When you mask a model, the model arguments become the model mask parameters. Referencing a masked model helps in having a better user interface for a model with ease of controlling the model parameters through the mask.

When you reference a masked model from a Model block, a mask is generated automatically on the Model block. The generated mask on the Model block is a copy of the model mask that it is referencing. You can reference a masked model from multiple Model block instances.

Consider a model that represents the DC motor equation. Plant in this model is a Model block that references a masked model, simplifying the user interface.

The Plant block contains the same mask as that of the masked model and the mask is uneditable. The mask can only be edited from the Mask Editor dialog box of the masked model.

See Also

| |