User`s guide

2 Installation and Configuration
2-14
Real-Time Windows Target Kernel
A key component of the Real-Time Windows Target is a real-time kernel that
interfaces with the Windows operating system in a way that allows your
real-time executable to run at your selected sample rate. The kernel assigns
the highest priority of execution to your real-time executable.
This section includes the following topics:
“Installing the Kernel” on page 2-14
“Uninstalling the Kernel” on page 2-16
Installing the Kernel
During installation, all software for the Real-Time Windows Target is copied
onto your hard drive. The kernel, although copied to the hard drive, is not
automatically installed. Installing the kernel sets up the kernel to start
running in the background each time you start your computer.
After you install the Real-Time Windows Target, you can install the kernel.
You need to install the kernel before you can run a Real-Time Windows Target
executable:
1 In the MATLAB window, type
rtwintgt -install
MATLAB displays the message
You are going to install the Real-Time Windows Target kernel.
Do you want to proceed? [y] :
2 Continue installing the kernel. Type
y
MATLAB installs the kernel and displays the message
The Real-Time Windows Target kernel has been successfully
installed.
If a message is displayed asking you to restart your computer, you need to
restart your computer before the kernel runs correctly.