이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
블록 마스크 만들기
사용자 지정된 모양 만들기, 사용자 정의 인터페이스 만들기, 논리 캡슐화, 서브시스템 및 사용자 지정 블록에 대한 데이터 숨기기
Simulink®에서는 블록 마스크를 만들 수 있습니다. 마스크는 블록에 대한 맞춤형 사용자 인터페이스입니다.
블록을 마스크 처리함으로써 블록 설명, 파라미터 프롬프트, 도움말 텍스트를 원하는 대로 정의하여 새로운 파라미터 대화 상자를 갖도록 블록 다이어그램을 캡슐화할 수 있습니다.
고유한 블록으로 재사용할 수 있는 독립적인 사용자 지정 블록은 Simulink에 정의된 블록처럼 마스크 처리할 수 있습니다.
블록 마스크를 만드는 방법에 대해 알아보려면 간단한 마스크 만들기 항목을 참조하십시오.
클래스
Simulink.Mask | 프로그래밍 방식으로 마스크 제어하기 |
Simulink.Mask.Constraints | Create mask parameter constraint |
Simulink.Mask.PortConstraints | Create mask port constraints programmatically |
Simulink.Mask.ParameterCondition | Create mask parameter conditions |
Simulink.Mask.PortConstraintRule | Create instance of Simulink.Mask.PortConstraintRule to define
rules of port constraint |
Simulink.Mask.PortIdentifier | Create port identifiers to identify ports of block in mask object |
Simulink.MaskParameter | Control mask parameters programmatically |
Simulink.Mask.EnumerationBase | Derive an enumeration class to hold numeric values of any datatype |
Simulink.Mask.EnumerationTypeOptions | Parse information from enumeration file derived from
Simulink.IntEnumType and
Simulink.Mask.EnumerationBase |
Simulink.dialog.Control | Create instance of dialog control |
Simulink.dialog.parameter.CustomTable | 프로그래밍 방식으로 사용자 지정 테이블 생성 |
Simulink.dialog.ListboxControl | Control list box programmatically |
Simulink.dialog.TreeControl | Control Tree control programmatically |
Simulink.dialog.LookupTableControl | Control mask lookup tables programmatically |
Simulink.dialog.LookupTableControl.Table | Control table data for mask lookup table |
Simulink.dialog.LookupTableControl.Breakpoints | Control breakpoint data set for mask lookup table |
도움말 항목
마스크 처리 소개
- 마스크 처리 기본 사항
마스크 처리에 대한 기본 사항과 언제 블록을 마스크 처리하는지에 대해 알아봅니다. - 간단한 마스크 만들기
블록 마스크를 만들고 사용자 지정합니다. - Manage Existing Masks
View or edit an existing block mask.
마스크 편집기 사용자 인터페이스
- Mask Editor Overview
Create and customize masks using the Mask Editor interface. - Specify Data Types Using DataTypeStr Parameter
Add data type constraint for an Edit mask parameter. - Design a Mask Dialog Box
Try this example to create a mask dialog box and understand the use of some Mask Editor features. - Handling Large Number of Mask Parameters
Add large number of mask parameters in a Table programmatically. - Customize Tables for Masked Blocks
Add custom tables to mask dialog box. - Control Custom Table Programmatically
Use a programmatic interface to control custom tables.
마스크 처리 기능
- Validating Mask Parameters Using Constraints
Add validation to mask parameters using constraints. - Custom Constraint for Mask Parameter
A mask can contain parameters that accept user input values. - Share Parameter Constraints Across Multiple Block Masks
This example shows how to create a parameter constraint and share it across masks of different blocks in the same model or different models. - Validate Input and Output Port Signals Using Port Constraints
You can validate compile-time signal attributes on the input and output ports of a masked block by using port constraints. - Mask Callback Code
Add and execute mask callback code. - Initialize Mask
Use MATLAB® code to initialize a block mask. - Promote Block Parameters on a Mask
Blocks and subsystems can have multiple parameters associated with them. - Control Masks Programmatically
Simulink® defines a set of parameters that help in setting and editing masks. - Pass Values to Blocks Under the Mask
Specify input values using the mask dialog box. - Mask Linked Blocks
Add custom interface to linked blocks. - Approaches to Control Active Variant Choice of a Variant Block Using Mask or Model Workspace
This example shows different approaches to control the active choice of inline variant and Variant Subsystem blocks from a mask or a model workspace. - Define Measurement Units for Masked Blocks
Set measurement units for output and input ports of a masked block. - 마스크에 이미지 추가하기
이미지를 마스크 아이콘으로 추가하고 SLX 파일에 저장합니다. - Create and Edit Masked Block Icon Using Graphical Icon Editor
You can create and edit the mask icon of a block using a graphical environment. - Create Hierarchical List in Mask Dialog
Create a hierarchical list of data on a mask. - Tune Mask Popup Parameters by Referencing an External Enumeration File
Reference external enumeration file to assign numerical values to popup parameter. - Visualize and Plot N-Dimensional Data Using Mask Lookup Table Control
Use a lookup table to evaluate a sampled representation of a function using simple lookup operations.
마스크 콜백
- Dynamic Mask Dialog Box
Change the mask dialog box based on user - input. - Dynamic Masked Subsystem
Create masked library blocks that can modify their structural contents. - Debug Masks That Use MATLAB Code
Troubleshoot errors in the mask initialization code.
시스템 마스크
- Introduction to System Mask
Learn about masking a model. - Create and Reference a Masked Model
Mask a model interactively. - Control System Mask Programmatically
Simulink® defines a set of parameters to configure and edit a system mask.
예제 모델
- Masking Example Models
View Simulink models that demonstrate masking capabilities.