Simulink.dialog.Container Class
Namespace: Simulink.dialog
Superclasses: Simulink.dialog.Control
Create instance of container dialog control
Description
The Simulink.dialog.Container
class is a handle class
that enables you to manage container dialog controls.
The Simulink.dialog.Container
class is a handle
class.
Properties
Name
— Identifier of container dialog control
'Container'
(default) | string scalar | character vector
Identifier of the container dialog control, specified as a string scalar or character vector.
Example: 'Container1'
Attributes:
GetAccess | public |
SetAccess | public |
GetObservable | true |
SetObservable | true |
Data Types: char
| string
Enabled
— Option to edit parameters in mask dialog box
'on'
(default) | 'off'
Option to edit parameters in the mask dialog box, specified as
'on'
or 'off'
.
'on'
— You can edit the parameters within the container on a mask dialog box.'off'
— You cannot edit the parameters within the container on a mask dialog box.
Attributes:
GetAccess | public |
SetAccess | public |
GetObservable | true |
SetObservable | true |
Data Types: logical
Visible
— Option to display container on mask dialog box
'on'
(default) | 'off'
Option to display the container on the mask dialog box, specified as
'on'
or 'off'
.
Attributes:
GetAccess | public |
SetAccess | public |
GetObservable | true |
SetObservable | true |
Data Types: logical
AlignPrompts
— Option to justify text boxes of edit and pop up parameters within container dialog control
'off'
(default) | 'on'
Option to justify the text boxes of edit and popup parameters
within the container dialog control, specified as
'on'
or 'off'
.
'on'
— Justify text boxes within the container dialog based on the longest parameter prompt.'off'
— Do not justify text boxes.
Attributes:
GetAccess | public |
SetAccess | public |
GetObservable | true |
SetObservable | true |
Data Types: logical
DialogControls
— Child dialog controls of container dialog control
character vector
Child dialog controls of the container dialog control, specified as a character vector.
Example: '[1×2 Simulink.dialog.parameter.Edit]'
Attributes:
GetAccess | public |
SetAccess | public |
GetObservable | true |
SetObservable | true |
Data Types: char
Tooltip
— Informative message
string scalar | character vector
Informative message that appears when you point to an instance of the container dialog control, specified as a string scalar or character vector.
Example: 'Signal Attributes'
Attributes:
GetAccess | public |
SetAccess | public |
GetObservable | true |
SetObservable | true |
Data Types: char
| string
Methods
Public Methods
addDialogControl | Add dialog control elements to mask dialog box |
getDialogControl | Search for a specific dialog control on the mask |
removeDialogControl | Remove dialog control from container in mask dialog box |
Alternatives
You can manage container dialog control elements using the Property editor in the Mask Editor dialog box. For more information, see Property editor.
Version History
Introduced in R2013b
MATLAB-Befehl
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)