이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
시뮬레이션에서 런타임 데이터 저장하기
시뮬레이션 데이터를 MATLAB® 작업 공간에 저장하기, 신호 기록하기, 신호, 시간, 출력 및 상태 데이터 내보내기
나중에 가져와서 후처리할 수 있도록 시뮬레이션 중에 신호 값을 MATLAB 작업 공간이나 MLDATX 파일, MAT 파일 또는 Excel®에 저장할 수 있습니다. 시뮬레이션 데이터 저장은 시뮬레이션 데이터 기록 또는 내보내기라고도 합니다.
시뮬레이션 데이터를 Dataset
형식으로 저장하면 다양한 기록 기법의 결과에 대해 공통된 형식을 제공함으로써 후처리가 단순화됩니다. Dataset
형식을 사용하면 데이터가 MATLAB timeseries
객체로 저장되며, 이 객체는 MATLAB을 사용하여 처리할 수 있습니다.
신호 기록 및 데이터 저장소에는
Dataset
형식이 사용됩니다.출력 및 상태 기록에는 디폴트 형식으로
Dataset
이 사용됩니다.To File 블록 및 To Workspace 블록의 디폴트 저장 형식은
Timeseries
입니다.
Simulink®는 기록된 데이터를 Dataset
형식으로 변환하기 위한 툴을 제공합니다.
신호 데이터를 기록하는 데 어떤 접근 방식을 사용할지 결정하려면 시뮬레이션 데이터 내보내기 항목을 참조하십시오.
블록
Outport | Create output port for subsystem or external output |
Record, XY Graph | Log data to the workspace, to a file, or both |
To File | Write data to file |
To Workspace | Simulink 모델의 작업 공간에 데이터 기록 |
툴
계측 속성 | View and edit logging and visualization properties for logged signal |
신호 속성 | View and edit signal properties |
시뮬레이션 데이터 인스펙터 | 데이터와 시뮬레이션 결과를 검사하고 비교하여 모델 설계 검증 및 반복 |
함수
객체
도움말 항목
시뮬레이션 데이터
- 시뮬레이션 데이터 내보내기
모델을 분석하고 디버그하는 데 사용할 기준으로 시뮬레이션 데이터를 내보냅니다(기록합니다). - Data Format for Logged Simulation Data
You can use many formats for logged data, includingDataset
, MATLABtimeseries
, arrays, and structures. Supported data formats vary between different logging techniques. However,Dataset
format is available for all logging techniques. - Convert Data to Dataset Format
To convert a workspace variable that contains data that was logged in a format other thanDataset
format to useDataset
format, use aSimulink.SimulationData.Dataset
constructor. - Work with Big Data for Simulations
Log, load, and analyze big data for simulations. - Limit the Size of Logged Data
Choose among several strategies to limit the size of logged data. - Specify Signal Values to Log
Specify which signal values to log during simulation. - Log Data to Persistent Storage
Store logged simulation data to persistent storage in a MAT-file. - Load Big Data for Simulations
Load big data as simulation input. - Analyze Big Data from a Simulation
Access simulation data logged to persistent storage for analysis in MATLAB. - Samples to Export for Variable-Step Solvers
Control how much output the simulation generates when your model uses a variable-step solver. Use the Output options configuration parameter. - Log Data to the Workspace and a File Using the Record Block
Use the Record block to log data to the workspace, to a file, or to both the workspace and a file.
시뮬레이션 상태
- Save Block States and Simulation Operating Points
Learn how you can use state information logged from simulation and decide how to log states and operating points. - Save State Information
Save state information for logged states for each simulation step during a simulation.
신호 기록
- Save Signal Data Using Signal Logging
Capture signal data from a simulation by marking signals you want to log in the model. - Mark Signals for Logging
- View the Signal Logging Configuration
View the signals that are marked for signal logging. - Enable Signal Logging for Model
- Override Signal Logging Settings
For a specific simulation run, override the signal logging settings for individual signals marked for logging. - View and Access Signal Logging Data
View and access the signal logging data for a completed or paused simulation. - Convert timeseries object to Dataset object
- Log Signals in For-Each Subsystems
Use signal logging in For Each subsystems.
데이터 저장소
- Log Data Stores
Configure a data store for logging so that you can view the data stored in a simulation run.