Main Content

Real-Time Simulation

实时目标;连接输入输出模式,加速器ode, and Run in Kernel mode; sample rate; real-time scope parameters

To evaluate the real-time behavior of your model, run the model, log data, tune parameters, and view signals from the Simulink®toolbar. Capture signals from the model and display them with standard SimulinkScopeblocks. Run your model in Connected IO mode, accelerator mode, or Run in Kernel mode, depending upon the sample rate that you require.

If you require a moderate sample rate, up to 1 kHz, use Connected IO mode or accelerator mode. In these modes, you run the Simulink model within MATLAB®. Only the I/O module drivers run in theSimulink Desktop Real-Time™kernel.

If you require a higher sample rate, up to 20 kHz, use Run in Kernel mode. In Run in Kernel mode, you useSimulink Coder™to generate a real-time application from the model. The real-time application and the I/O module drivers run in theSimulink Desktop Real-Timekernel.

Functions

rtwho Display information about development computer status

Topics

Prerequisites

Connected IO Mode (Normal Mode)

Display