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:

  1. In the MATLAB command window, type
  1. MATLAB displays messages similar to those shown below.

  1. Interpret the message.
  1. This message indicates that MATLAB and other nonreal-time applications (for example, a word processor) are able to run at 100% performance because no real-time applications are currently executing on your PC.

    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