Hauptinhalt

Entwickeln von Blockmasken

Anpassen von Block-Darstellung und -Benutzeroberfläche und Blockdiagramm

Eine Blockmaske ist eine individuelle Benutzeroberfläche, die Sie für einen Block erstellen können. Maskieren Sie einen Block, um die zugrunde liegenden Implementierungsdetails zu verbergen und eine benutzerfreundlichere Oberfläche zum Einstellen von Parametern und Optionen bereitzustellen. Blockmasken sind besonders nützlich für komplexe Blöcke oder Subsysteme, bei denen es für den Benutzer nicht notwendig ist, deren interne Funktionsweise zu verstehen oder direkt mit ihnen zu interagieren. Sie können eine Maske für einen benutzerdefinierten Block erstellen und diese als einzigartige Instanzen des Blocks wiederverwenden.

Klassen

alle erweitern

Simulink.MaskControl masks programmatically
Simulink.Mask.ConstraintsCreate mask parameter constraint
Simulink.Mask.PortConstraintCreate mask port constraints programmatically (Seit R2022a)
Simulink.Mask.ParameterConditionCreate mask parameter conditions (Seit R2022a)
Simulink.Mask.PortConstraintRuleCreate instance of Simulink.Mask.PortConstraintRule to define rules of port constraint (Seit R2022a)
Simulink.Mask.PortIdentifierCreate port identifiers to identify ports of block in mask object (Seit R2022a)
Simulink.Mask.CrossPortConstraintCreates cross-port constraint among ports of the same masked block (Seit R2023a)
Simulink.Mask.CrossPortParameterConstraintCross port parameter constraint between ports and parameters of same masked block (Seit R2025a)
Simulink.Mask.CrossPortParameterConstraintAssociationCross port parameter constraint association between mask parameters and ports (Seit R2025a)
Simulink.Mask.SharedConstraintFileConstraints that needs to be saved in an XML file (Seit R2023a)
Simulink.MaskParameterControl mask parameters programmatically
Simulink.Mask.EnumerationBaseDerive enumeration class to hold numeric values of any data type (Seit R2021a)
Simulink.Mask.EnumerationTypeOptionsParse information from enumeration file derived from Simulink.IntEnumType and Simulink.Mask.EnumerationBase (Seit R2021a)
Simulink.ConstraintManagerManage parameter and port constraints (Seit R2024b)
Simulink.Mask.WorkspaceMask workspace object (Seit R2025a)
Simulink.dialog.ControlCreate instance of dialog control
Simulink.dialog.ButtonCreate instance of button dialog control
Simulink.dialog.HyperlinkCreate instance of hyperlink dialog control
Simulink.dialog.ImageManage image dialog control
Simulink.dialog.TextManage text dialog control
Simulink.dialog.ListboxControlControl list box programmatically
Simulink.dialog.parameter.ControlCreate a parameter dialog control
Simulink.dialog.parameter.CustomTableCreate custom tables programmatically
Simulink.dialog.TreeControlControl Tree control programmatically
Simulink.dialog.LookupTableControlControl mask lookup tables programmatically (Seit R2021b)
Simulink.dialog.LookupTableControl.TableControl table data for mask lookup table (Seit R2021b)
Simulink.dialog.LookupTableControl.BreakpointsControl breakpoint data set for mask lookup table (Seit R2021b)
Simulink.dialog.ContainerCreate instance of container dialog control
Simulink.dialog.GroupCreate instance of group dialog control
Simulink.dialog.PanelCreate instance of panel dialog control
Simulink.dialog.TabCreate instance of tab dialog control
Simulink.dialog.TabContainerCreate instance of tab container dialog control
Simulink.dialog.MaskPartReferenceCreate and save parameters and dialog controls and reuse them across multiple masked blocks (Seit R2024b)

Themen

Einführung zu Masken

Maskeneditor

Maskierungsfunktionen

Maskenbeschränkungen

Grafischer Icon-Editor

Masken-Callbacks

Systemmaske

Beispiel-Modelle

Enthaltene Beispiele