Real-Time Windows Target | ![]() ![]() |
Displaying Status Information
The Real-Time Windows Target provides the command rtwho
for accessing the kernel and displaying status information. It lists information about the version number, kernel performance, and history variables. Also, you can determine whether or not the Real-Time Windows kernel is presently installed:
When a real-time application is executing, the MATLAB performance is at a value below 100%. For example, if the MATLAB performance = 90.0%, then the real-time application is using 10% of the CPU time.
We recommend that you select a sample rate so that rtwho
returns a MATLAB performance of at least 80%.
The kernel time slice period is the current frequency of the hardware timer interrupt. One millisecond is the maximum value for models with large sample times (slow sampling rate) or when an application has not been built. This value changes when you select sampling times less then 1 millisecond.
![]() | Running the Model rtvdp.mdl | Detecting Excessive Sample Rates | ![]() |