RN
RN
RN
Product enhancement suggestions Bug reports Documentation error reports Order status, license renewals, passcodes Sales, pricing, and general information
508-647-7000 (Phone) 508-647-7001 (Fax) The MathWorks, Inc. 3 Apple Hill Drive Natick, MA 01760-2098
For contact information about worldwide offices, see the MathWorks Web site. Real-Time Windows Target Release Notes COPYRIGHT 20002013 by The MathWorks, Inc.
The software described in this document is furnished under a license agreement. The software may be used or copied only under the terms of the license agreement. No part of this manual may be photocopied or reproduced in any form without prior written consent from The MathWorks, Inc. FEDERAL ACQUISITION: This provision applies to all acquisitions of the Program and Documentation by, for, or through the federal government of the United States. By accepting delivery of the Program or Documentation, the government hereby agrees that this software or documentation qualifies as commercial computer software or commercial computer software documentation as such terms are used or defined in FAR 12.212, DFARS Part 227.72, and DFARS 252.227-7014. Accordingly, the terms and conditions of this Agreement and only those rights specified in this Agreement, shall pertain to and govern the use, modification, reproduction, release, performance, display, and disclosure of the Program and Documentation by the federal government (or other entity acquiring for or through the federal government) and shall supersede any conflicting contractual terms or conditions. If this License fails to meet the governments needs or is inconsistent in any respect with federal procurement law, the government agrees to return the Program and Documentation, unused, to The MathWorks, Inc.
Trademarks
MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.
Patents
MathWorks products are protected by one or more U.S. patents. Please see www.mathworks.com/patents for more information.
Contents
R2013b
CAN_MESSAGE data type for Packet Input and Packet Output
blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . National Instruments PCIe-63xx (X series) boards on PCI Express bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HUMUSOFT MF634 board on PCI Express bus . . . . . . . . . Real-Time Windows Target Examples . . . . . . . . . . . . . . . . .
2 2 2 2
R2013a
Clang LLVM compiler for 32-bit and 64-bit platforms that replaces Open Watcom . . . . . . . . . . . . . . . . . . . . . . . . . . . printf function output to MATLAB Command Window when called from real-time application . . . . . . . . . . . . . . Functionality Being Removed or Changed . . . . . . . . . . . . . 4 4 4
R2012b
64-bit Windows support for Simulink external mode simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Message identifier entry improvements for Packet Input and Packet Output blocks . . . . . . . . . . . . . . . . . . . . . . . . Block functionality being changed . . . . . . . . . . . . . . . . . . . . 6 6 6
R2012a
Simulink Normal Mode Simulation in Real Time . . . . . . . . Variable-Step Solver Support for Simulink Normal Mode Simulation in Real Time . . . . . . . . . . . . . . . . . . . . . . . . . . Real-Time Windows Target Examples . . . . . . . . . . . . . . . . . Functionality Being Removed or Changed . . . . . . . . . . . . . 8 8 8 9
iii
R2011b
Support for National Instruments PXIe-6251 and PXIe-6259 boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
R2011a
Change in Packet Input and Output Blocks . . . . . . . . . . . . Open Watcom Upgrade to 1.9 . . . . . . . . . . . . . . . . . . . . . . . . Real-Time Windows Target Product Now in Simulink Start, Help, and Demos Category . . . . . . . . . . . . . . . . . . . . . . . . 14 14 14
R2010b
Support for Simscape and SimDriveline Environments . . . Enhanced Serial Port Drivers . . . . . . . . . . . . . . . . . . . . . . . 16 16
R2010a
Support for National Instruments PCI/PXI-660x Boards . . Change in UDP Packet and Stream Blocks . . . . . . . . . . . . . 18 18
R2009b
Support for File I/O Using Packet and Stream I/O Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . New PWM Frequency and Duty Measurement Demo . . . . Support for Pulse Width Measurement with Counter Input Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Open Watcom Upgrade to 1.8 . . . . . . . . . . . . . . . . . . . . . . . . 20 20 20 21
iv
Contents
R2009a
Support for Vector CAN Boards . . . . . . . . . . . . . . . . . . . . . . Support for Counter and Encoder Blocks for National Instruments Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 24
R2008b
Support for Model Referencing . . . . . . . . . . . . . . . . . . . . . . . Real-Time Workshop Embedded Coder Support . . . . . . . . . 28 28
R2008a
New Features and Changes . . . . . . . . . . . . . . . . . . . . . . . . . Whats This? Context-Sensitive Help Available for Simulink Configuration Parameters Dialog . . . . . . . . . . 30 31
R2007b
New Features and Changes . . . . . . . . . . . . . . . . . . . . . . . . . Link and Target Products Regrouped in New Start, Help, and Demos Category . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 35
R2007a
New Features and Changes . . . . . . . . . . . . . . . . . . . . . . . . . 38
R2006b
New Features and Changes . . . . . . . . . . . . . . . . . . . . . . . . . 42
R2006a
No New Features or Changes
R14SP3
New Features and Changes . . . . . . . . . . . . . . . . . . . . . . . . . 48
R14SP2
New Features and Changes . . . . . . . . . . . . . . . . . . . . . . . . . C++ Code Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 50
vi
Contents
R2013b
Version: 4.3 New Features: Yes Bug Fixes: Yes
R2013b
Output blocks
The CAN_MESSAGE data type is now supported with the Packet Input and Packet Output blocks, for consistency with Vehicle Network Toolbox, xPC Target, and other MathWorks products. Type 'CAN_MESSAGE' in the Block output data types box of the Real-Time Windows Target Packet Input block and in the Output packet field data types box of the Packet Output block.
R2013a
Version: 4.2 New Features: Yes Bug Fixes: Yes
R2013a
Clang LLVM compiler for 32-bit and 64-bit platforms that replaces Open Watcom
The bundled Open Watcom compiler has been replaced with the Clang LLVM compiler, which runs on both 32-bit and 64-bit platforms.
Functionality
rtwho no longer displays MATLAB performance and Kernel timeslice period information.
None
R2012b
Version: 4.1 New Features: Yes Bug Fixes: Yes
R2012b
Message identifier entry improvements for Packet Input and Packet Output blocks
With R2012b, you can enter a message identifier for the Packet Input and Packet Output blocks as text. A check box lets you indicate whether to use the standard or extended identifier length.
The following blocks are being changed: Functionality What Happens When You Use This Functionality? An out-of-range value is forced to the maximum value for that data type. Use This Instead Compatibility Considerations Out-of-range values no longer wrap around modulo the maximum value for the data type.
For Packet Input and Packet Output blocks, out-of-range integer values saturate to their data type.
N/A
R2012a
Version: 4.0 New Features: Yes Bug Fixes: Yes
R2012a
Variable-Step Solver Support for Simulink Normal Mode Simulation in Real Time
Real-Time Windows Target supports variable-step solvers for real-time normal mode simulation only.
Functionality
The PCI slot box in the I/O board dialog box is being replaced with a Device order box containing the logical device number of the board.
If more than one board of the same type was previously installed in the computer using the PCI slot box, Real-Time Windows Target cannot distinguish them.
For blocks referencing two or more boards of the same type, specify the logical device number for each board.
R2011b
Version: 3.8 New Features: Yes Bug Fixes: Yes
11
R2011b
12
R2011a
Version: 3.7 New Features: Yes Bug Fixes: Yes
13
R2011a
Real-Time Windows Target Product Now in Simulink Start, Help, and Demos Category
Compatibility Considerations: Yes
The Simulink category now contains the Real-Time Windows Target software product.
Compatibility Considerations
This change impacts you in the following ways: Finding and viewing this product through the MATLAB Desktop Start button and in the Help browser Contents and Demos panes Using the demo command to access the product demos
14
R2010b
Version: 3.6 New Features: Yes Bug Fixes: No
15
R2010b
16
R2010a
Version: 3.5 New Features: Yes Bug Fixes: No
17
R2010a
18
R2009b
Version: 3.4 New Features: Yes Bug Fixes: No
19
R2009b
Support for File I/O Using Packet and Stream I/O Blocks
The Packet Input, Packet Output, Stream Input, and Stream Output blocks now support a file I/O driver. To access the driver, click the Install new board button of one of these blocks and select Standard Devices > File. This driver reads and writes data from/to files on a local file system. For example, you can use this driver to import arbitrarily formatted data from a file without recompiling the model. In previous releases, importing such data with the From Workspace block required model recompilation.
internal clock
The National Instruments PCI/PXI-60xx and National Instruments PCI/PXI-62xx drivers have been enhanced to work with this block for pulse width measurement.
20
21
R2009a
Version: 3.3 New Features: Yes Bug Fixes: No
23
R2009a
Support for Counter and Encoder Blocks for National Instruments Boards
Counter and encoder support have been added for the following National Instruments boards: National Instruments boards:
24
PCI-6220 PCI-6221 PCI-6221 37-pin PCI-6224 PCI-6225 PCI-6229 PCI-6250 PCI-6251 PCI-6254 PCI-6259 PCI-6280 PCI-6281 PCI-6284 PCI-6289 PCIe-6251 PCIe-6259 PXI-6220
Support for Counter and Encoder Blocks for National Instruments Boards
PXI-6221 PXI-6224 PXI-6225 PXI-6229 PXI-6250 PXI-6251 PXI-6254 PXI-6259 PXI-6280 PXI-6281 PXI-6284 PXI-6289
25
R2008b
Version: 3.2 New Features: Yes Bug Fixes: No
27
R2008b
28
R2008a
Version: 3.1 New Features: Yes Bug Fixes: No
29
R2008a
For a complete list of supported I/O boards, see Real-Time Windows Target Supported I/O Boards.
Documentation Changes
The Real-Time Windows Target documentation now includes a separate Reference Manual, which contains:
30
Whats This? Context-Sensitive Help Available for Simulink Configuration Parameters Dialog
The information on blocks and parameters that previously appeared in the Users Guide Documentation of the rtwinconfigset function, which previously had no reference page See Real-Time Windows Target Reference.
Whats This? Context-Sensitive Help Available for Simulink Configuration Parameters Dialog
R2008a introduces Whats This? context-sensitive help for parameters that appear in the Simulink Configuration Parameters dialog. This feature provides quick access to a detailed description of the parameters, saving you the time it would take to find the information in the Help browser. To use the "Whats This?" help, do the following:
1 Place your cursor over the label of a parameter. 2 Right-click. A Whats This? context menu appears.
For example, the following figure shows the Whats This? context menu appearing after a right-click on the Start time parameter in the Solver pane.
31
R2007b
Version: 3.0 New Features: Yes Bug Fixes: No
33
R2007b
New Blocks and Drivers Provide Serial Port and UDP Support
Four new blocks, Packet Input, Packet Output, Stream Input, and Stream Output provide serial port and UDP support. For serial port support, use the blocks with the new driver Standard Devices > Serial Port. For UDP support, use the blocks with the new driver Standard Devices > UDP Protocol. See the documentation of the new blocks in Blocks Alphabetical List.
34
Link and Target Products Regrouped in New Start, Help, and Demos Category
Link and Target Products Regrouped in New Start, Help, and Demos Category
Compatibility Considerations: Yes
A new product category, Links and Targets, now contains MathWorks software products that link, target, or cosimulate code.
Compatibility Considerations
This change impacts you in the following ways: Finding and viewing these products through the MATLAB Desktop Start button and in the Help browser Contents and Demos panes. Using the demo command to access the product demos. For more about this new product category, see Demos and Help Browser Contents Now Include New Category for Links and Targets, in the MATLAB Release Notes.
35
R2007a
Version: 2.7 New Features: Yes Bug Fixes: No
37
R2007a
38
PC104-DI48 PCI-DAS6013 PCI-DAS6014 PCI-DAS6023 PCI-DAS6025 PCI-DAS6030 PCI-DAS6031 PCI-DAS6032 PCI-DAS6033 PCI-DAS6034 PCI-DAS6035 PCI-DAS6036 PCI-DAS6040 PCI-DAS6052 PCI-DAS6070 PCI-DAS6071 PCI-DAS6402-12
For a complete list of supported I/O boards, see Real-Time Windows Target Supported I/O Boards.
39
R2006b
Version: 2.6.2 New Features: Yes Bug Fixes: No
41
R2006b
M-series boards for analog and digital I/O, but not for counters PCI-6220 PCI-6221 PCI-6221 37-pin PCI-6224 PCI-6225 PCI-6229 PCI-6250 PCI-6251 PCI-6254 PCI-6259 PCI-6280 PCI-6281 PCI-6284 PCI-6289 PCIe-6251 PCIe-6259 PXI-6220 PXI-6221 PXI-6224 PXI-6225
42
PXI-6229 PXI-6250 PXI-6251 PXI-6254 PXI-6259 PXI-6280 PXI-6281 PXI-6284 PXI-6289 AD622 MF624
Humusoft boards:
For a complete list of supported I/O boards, see Real-Time Windows Target Supported I/O Boards.
43
R2006a
Version: 2.6.1 New Features: No Bug Fixes: No No New Features or Changes
45
R14SP3
Version: 2.6 New Features: Yes Bug Fixes: No
47
R14SP3
48
R14SP2
Version: 2.5.2 New Features: Yes Bug Fixes: No
49
R14SP2
Although Real-Time Workshop software Version 6.2 supports generating C++ code, Real-Time Windows Target software Version 2.5.2 does not.
50