real-凯发k8网页登录
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 simulink scope blocks. 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 the simulink 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 use simulink coder™ to generate a real-time application from the model. the real-time application and the i/o module drivers run in the simulink desktop real-time kernel.
functions
display information about development computer status |
topics
prerequisites
configure a simulink model to run as a real-time application.
connected io mode (normal mode)
learn about the behavior of simulink desktop real-time in connected io mode.
run in kernel mode (external mode)
- real-time execution in run in kernel mode
learn about the behavior of simulink desktop real-time in run in kernel mode.
- step 1:
- step 2:
- step 3:
- step 4:
- step 5:
- step 6:
display
trace signals by using sdi in run in kernel mode.- water tank model with dashboard
examine a real-time model of a water tank controlled by dashboard controls.