Real-Time Windows Target Release Notes |
Upgrading from an Earlier Release
This section describes the upgrade issues involved in moving from the Real-Time Windows Target 1.0 and 1.5 to the Real-Time Windows Target 2.0.
Reinstall the Real-Time Windows Kernel
When upgrading from an earlier release, first uninstall the Real-Time Windows Target kernel. In the MATLAB window, type
After you install MATLAB R12 products, including the Real-Time Windows Target 2.0, install the new Real-Time Windows Target kernel. In the MATLAB window, type
Depending on which version of Windows you are using on your PC, you may need to reboot your PC before using the Real-Time Windows Target. If a reboot is required, a message appears indicating a reboot is needed.
Enter New External Mode Interface Filename
The name of the external mode interface file was change from win_tgt
to rtwinext
. If you create a new Simulink model, the new filename is entered correctly. If you have Simulink models where you used Real-Time Windows Target 1.0 or 1.5, you need to change the filename using the following procedure:
Remove I/O Adapter Blocks from Your Simulink Model
I/O Adapter blocks have been eliminated from the Real-Time Windows Target 2.0. You need to remove all I/O Adapter blocks from your Simulink model. Before removing these blocks, we recommend that you record board and connectivity information.
You now enter specific board information in the individual driver blocks. However, you only have to do this once. After entering information in the first block, you can select your board from a pull-down list in the following blocks.
Replace I/O Driver Blocks in Your Simulink Model
the Real-Time Windows Target 1.0 and 1.5 had only two driver blocks - RT Input and RT Output. In the Real-Time Windows Target 2.0, the drivers are now divided into Analog Input (A/D), Analog Output (D/A), Digital Input, Digital Output, and others.
You need to remove all the Real-Time Windows Target 1.0 and 1.5 blocks from your Simulink model and replace them with the new Version 2.0 blocks. Remember to replace RT Input with the appropriate Analog Input and Digital Input blocks. And similarity, you must replace RT Output with Analog Output and Digital Output blocks. For example, if you had a block with both analog input and digital input, you must replace this block by adding two new blocks.
Real-Time Windows Target 2.0 Release Notes |