이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.
설계 데이터 관리하기
작은 프로젝트와 복잡한 모델 계층 구조의 모델 설계 데이터를 저장, 분할, 공유하는 방법 선택
설계 데이터는 Simulink® 모델에서 블록 파라미터와 신호 특성(예: 데이터형 및 차원)을 지정하는 데 사용하는 변수와 데이터 객체의 세트입니다. 설계 데이터의 저장 옵션에는 MATLAB® 기본 작업 공간, 모델 작업 공간 또는 데이터 사전이 포함됩니다. 설계 데이터에 대한 위치 선택은 다음에 따라 다를 수 있습니다.
모델링 목표
모델 아키텍처
데이터형
모델 데이터형과 프로젝트의 데이터 저장을 관리하는 방법에 대한 자세한 내용은 Determine Where to Store Variables and Objects for Simulink Models 항목을 참조하십시오.
데이터를 프로그래밍 방식으로 관리하는 방법에 대한 자세한 내용은 Manage Design Data for Simulink Models Programmatically 항목을 참조하십시오.
함수
객체
도움말 항목
Simulink 모델을 위한 데이터 저장
- Determine Where to Store Variables and Objects for Simulink Models
Simulink data are objects and variables that you create in workspaces such as the base workspace or a data dictionary. Choose a technique to permanently store that data. - Manage Design Data for Simulink Models Programmatically
Connect to a data source, such as a model workspace, base workspace, or data dictionary, then use a common set of functions to manage the data. - Create, Edit, and Manage Workspace Variables
Workspace variables enable you to share information, such as parameter values and data types, between blocks and models. Use different tools and techniques to create and manipulate workspace variables. - Edit and Manage Workspace Variables by Using Model Explorer
Find out which workspace variables are used by a model or block, find blocks that use a variable, find unused variables, and rename a variable everywhere it is used by blocks. Save and load variables from a separate file.
모델 작업 공간에 데이터 저장
- 모델 작업 공간
모델이 사용하는 변수와 객체를 해당 모델만 액세스할 수 있는 작업 공간에 배치합니다. - 모델 작업 공간 데이터 변경하기
모델 작업 공간에 데이터를 저장할 때는 모델 파일 또는 외부 MAT 파일과 같은 데이터 소스를 선택합니다. 소스에서 변수를 수정하려면 선택한 소스 유형에 따라 각기 다른 절차를 사용해야 합니다. - Specify Source for Data in Model Workspace
Store variables and objects that a model uses in the model file or in a separate file. Optionally, store the variables and objects as code that you can modify.
사전에 데이터 저장
- What Is a Data Dictionary?
Use a data dictionary to store external data for a model. - Import and Export Dictionary Data
Migrate data between a data dictionary and a MAT-file or MATLAB script file. - View and Revert Changes to Dictionary Data
Use a data dictionary to inspect and manage changes to model data. - Graphically Manage Shared Interfaces, Data Types, and Constants
To share interfaces, data types, and constants across components and compositions modeled in Simulink, use the Architectural Data section of a data dictionary. - Migrate Models to Use Simulink Data Dictionary
Store variables and objects in data dictionaries. - Partition Dictionary Data Using Referenced Dictionaries
Create referenced dictionaries to store subsets of the data that a model or model hierarchy uses. - Partition Data for Model Reference Hierarchy Using Data Dictionaries
Compose a dictionary hierarchy based on a model reference hierarchy. - Attach Data Dictionary to Custom Libraries
Share data objects with Simulink block library users using attached data dictionary. - Attach Data Dictionary to Subsystem Reference
Use a Simulink data dictionary with child blocks and instances of your subsystem file. - Enumerations in Data Dictionary
Store enumerated type definitions and enumerated data in a data dictionary. - Store Data in Dictionary Programmatically
Use scripts and the command prompt to create and interact with data dictionaries.
외부 파일에 데이터 저장
- Create External File Adapter for Loading Variables into Simulink.SimulationInput Object
Define a custom file adapter that can be used by Simulink to load variables from an external file source into aSimulink.SimulationInput
object.
객체 및 변수에 데이터 저장
- Data Objects
Specify properties for parameters, signals, and states, including parameter values, outside of a block diagram by using external data objects. - Symbol Resolution
You can control how blocks in a model resolve symbols to variables and objects that you create in workspaces. - Define Data Classes
Customize the way your model interacts with data (signals, parameters, and states) by creating your own class of data object. - Upgrade Level-1 Data Classes
Simulink no longer supports level-1 data classes. You must upgrade data classes that you created using the level-1 data class infrastructure, which was removed in a previous release.