이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
가속화된 시뮬레이션
하이브리드 동적 시스템 모델의 동작을 특성화하는 데 도움이 되는 시뮬레이션을 실행하려면 개발 컴퓨터에서 비실시간 시뮬레이션에 최적화된 실행 프로그램을 빌드하십시오. 실행 프로그램을 빌드하려면 RSim(rsim.tlc
) 시스템 타깃 파일을 사용하도록 코드 생성기를 구성하십시오. 생성된 코드의 속도는 배치 시뮬레이션 또는 몬테카를로 시뮬레이션에 적합합니다.
참고
고속 시뮬레이션(RSim) 시스템 타깃 파일(rsim.tlc
)은 향후 릴리스에서 제거될 예정입니다.
시뮬레이션 속도를 높이려면 Simulink® 고속 액셀러레이터 시뮬레이션 모드를 사용하십시오. 고속 액셀러레이터 시뮬레이션 모드는 RSim 시스템 타깃 파일과 동일한 기능을 제공하지만 더 쉽게 사용할 수 있습니다. Design Your Model for Effective Acceleration 항목을 참조하십시오.
MATLAB® 및 Simulink 환경 밖에서 독립형 시뮬레이션을 배포하려면 Simulink Compiler™를 사용하십시오. Simulink Compiler는 컴파일된 Simulink 모델을 모델 시뮬레이션을 설정, 실행, 분석하는 MATLAB 코드와 함께 패키징한 독립 실행형 실행 파일로 시뮬레이션을 빌드하고 공유할 수 있는 턴키 솔루션을 제공합니다. Comparing Simulink Coder and Simulink Compiler (Simulink Compiler) 항목을 참조하십시오.
함수
rsimgetrtp | Global model parameter structure |
rsimsetrtpparam | Set parameters of rtP model parameter structure |
도움말 항목
- Accelerate, Refine, and Test Hybrid Dynamic System on Host Computer by Using RSim System Target File
Accelerate simulation of a model in nonreal-time on your development computer.
- Configure and Build Model for Rapid Simulation
Configure model for rapid simulation and initiate build process.
- Set Up Rapid Simulation Input Data
Approaches for setting up input data for rapid simulations.
- Use MAT-Files to Feed Data to Inport Blocks for Rapid Simulations
Read input data for rapid simulations from MAT-files.
- Create Scripts for Batch and Monte Carlo Simulations
Use scripts to run multiple simulations without overwriting simulation results.
- Run Rapid Simulations
Build a model once and run multiple simulations to study effects of parameter settings and input signals.
- Run Rapid Simulations over a Range of Parameter Values
How to run rapid simulations over a range of parameter values.
- Tune Parameters Interactively During Rapid Simulation
Options for tuning parameters interactively during rapid simulation.
- Run Batch Simulations Without Recompiling Generated Code
Modify input signal data and model parameters during batch simulations.
- Rapid Simulation Target Limitations
Limitations of the rapid simulation target.