RN

Download as pdf or txt
Download as pdf or txt
You are on page 1of 56

Real-Time Windows Target Release Notes

How to Contact MathWorks

Web Newsgroup www.mathworks.com/contact_TS.html Technical Support


www.mathworks.com comp.soft-sys.matlab [email protected] [email protected] [email protected] [email protected] [email protected]

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

CAN_MESSAGE data type for Packet Input and Packet

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.

National Instruments PCIe-63xx (X series) boards on PCI Express bus


Real-Time Windows Target supports the National Instruments PCIe-63xx (X series) boards on the PCI Express bus.

HUMUSOFT MF634 board on PCI Express bus


Real-Time Windows Target supports the HUMUSOFT MF634 board on the PCI Express bus.

Real-Time Windows Target Examples


Real-Time Windows Target includes the following CAN examples: CAN Input/Output CAN Input/Output with Vehicle Network Toolbox

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.

printf function output to MATLAB Command Window

when called from real-time application


The printf function sends output to the MATLAB Command Window when it is called from the real-time application.

Functionality Being Removed or Changed


Compatibility Considerations: Yes

Functionality

What Happens When You Use This Functionality?


rtwho still runs

Use This Instead

Compatibility Considerations None

rtwho no longer displays MATLAB performance and Kernel timeslice period information.

None

R2012b
Version: 4.1 New Features: Yes Bug Fixes: Yes

R2012b

64-bit Windows support for Simulink external mode simulation


Real-Time Windows Target supports both external mode and normal mode simulation on 64-bit Windows computers as well as on 32-bit computers.

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.

Block functionality being changed


Compatibility Considerations: Yes

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

Simulink Normal Mode Simulation in Real Time


Real-Time Windows Target supports Simulink normal mode functionality in library blocks, allowing you to run real-time simulations without Simulink Coder. Simulink executes the simulation algorithm and the real-time kernel does data acquisition and hardware access. Simulink normal mode functionality covers both 32-bit and 64-bit Windows platforms. See Using Real-Time Applications.

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.

Real-Time Windows Target Examples


The following examples have been updated to run in Normal Mode as well as in External Mode: Real-Time Van der Pol Simulation Shows a real-time version of the Simulink Van der Pol simulation demo. Real-Time Signal Generator Shows how to produce an analog output signal. Real-Time Controller Shows how to build a simple closed-loop real-time controller. Real-Time Filter Shows how to build a simple real-time filter. Frequency Measurement Shows how to measure input signal frequency. PWM Frequency and Duty Measurement Shows how to measure PWM signal frequency and duty. Packet Input/Output Shows how to transfer data through UDP communication protocol using binary encoding. Stream Input/Output Shows how to transfer data through UDP communication protocol using ASCII encoding.

Functionality Being Removed or Changed

Functionality Being Removed or Changed


Compatibility Considerations: Yes

Functionality

What Happens When You Use This Functionality?


rtwintgt prints a

Use This Instead

Compatibility Considerations Use rtwintgt parameter


-uninstall

rtwintgt parameter -forceuninstall

warning message directing the customer to parameter


-uninstall

rtwintgt parameter -uninstall

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.

Device order box in the I/O board dialog box

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

Support for National Instruments PXIe-6251 and PXIe-6259 boards


The V3.8 block library supports the National Instruments PXIe-6251 and PXIe-6259 boards for the PXI Express bus.

12

R2011a
Version: 3.7 New Features: Yes Bug Fixes: Yes

13

R2011a

Change in Packet Input and Output Blocks


The Packet Input and Packet Output blocks now let you choose the order in which you can send multibyte values. You can choose little-endian or big-endian format. In previous releases, you were able to send and receive multibyte values in little-endian format only.

Open Watcom Upgrade to 1.9


The Real-Time Windows Target software now uses Version 1.9 of the Open Watcom C/C++ Compiler.

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

Support for Simscape and SimDriveline Environments


Real-Time Windows Target software now enables you to generate and download models created or edited with the Simscape and SimDriveline environments.

Enhanced Serial Port Drivers


The serial port drivers for the Packet Output and Stream Output blocks now support higher sample rates (up to 10 kHz). In previous releases, these blocks supported sample rates up to 500 Hz. The serial port drivers for the Packet Output and Packet Input blocks can now support higher baud rates. You can enter a custom baud rate using the Other option. In previous releases, these drivers supported baud rates up to 256000.

16

R2010a
Version: 3.5 New Features: Yes Bug Fixes: No

17

R2010a

Support for National Instruments PCI/PXI-660x Boards


The Real-Time Windows Target product now supports the National Instruments PCI/PXI-660x boards.

Change in UDP Packet and Stream Blocks


The UDP Packet and Stream blocks now require port addresses to be in decimal format. In previous releases. these blocks required port addresses to be in Hex format.

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.

New PWM Frequency and Duty Measurement Demo


The Real-Time Windows Target software now includes a demo that shows how to measure pulse width measurement (PWM) signal frequency and duty. See the PWM Frequency and Duty Measurement demo.

Support for Pulse Width Measurement with Counter Input Block


The Real-Time Windows Target software now supports pulse width measurements. The Counter Input block has the following new options to support this ability: Clock input source

internal clock

Gate input functionality


enable when high, latch & reset on edge enable when low, latch & reset on edge

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

Open Watcom Upgrade to 1.8

Open Watcom Upgrade to 1.8


The Real-Time Windows Target software now uses Version 1.8 of the Open Watcom C/C++ Compiler.

21

R2009a
Version: 3.3 New Features: Yes Bug Fixes: No

23

R2009a

Support for Vector CAN Boards


The Real-Time Windows Target product now supports Vector Informatik CAN devices supported by the Vector XL driver library, including CANcardX, CANcardXL, CANboardXL, and CANboardXL pxi.

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

Support for Model Referencing


The Real-Time Windows Target product now supports model referencing. See Model Referencing in the Real-Time Windows Target Users Guide.

Real-Time Workshop Embedded Coder Support


The Real-Time Windows Target product now supports the Real-Time Workshop Embedded Coder product. This feature requires the Real-Time Workshop Embedded Coder software. For information on how to configure your Real-Time Windows Target model to work with the Real-Time Workshop Embedded Coder software, see Entering External Mode Code Generation Parameters in the Real-Time Workshop Users Guide.

28

R2008a
Version: 3.1 New Features: Yes Bug Fixes: No

29

R2008a

New Features and Changes


Microsoft Windows 2000 Operating System Not Supported
As of R2008a, Real-Time Windows Target does not support the Microsoft Windows 2000 operating system. Real-Time Windows Target supports only the Windows XP 32-bit operating system and the Windows Vista 32-bit operating system.

Increased Memory for Local Variables


The memory available for storing local variables has increased from 4KB to 1MB. The increased memory better supports blocks like the Lookup Table block, Embedded MATLAB Function block, and others with large local data requirements.

Additional Supported I/O Boards


The 3.1 I/O library supports these boards in addition to those previously documented in Real-Time Windows Target release notes and documentation: Measurement Computing boards:

PCI-DDA02/12 PCI-DDA04/12 PCI-DDA08/12 PCI-DDA02/16 PCI-DDA04/16 PCI-DDA08/16

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.

3 Click Whats This? A context-sensitive help window appears showing a

description of the parameter.

31

R2007b
Version: 3.0 New Features: Yes Bug Fixes: No

33

R2007b

New Features and Changes


I/O Blocks Support Non-Double Data Types to Conform to Simulink Software
Previously, Real-Time Windows Target data input and output was of type double. Input blocks could produce only double data, and Output blocks could accept only double data. In R2007b, Input and Output blocks support data types other than double. See Blocks Alphabetical List for details about each block.

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.

New Frequency Output Block Is Available


A Frequency Output block is available in the Real-Time Windows Target library. The block generates a pulse-width-modulated square wave that alternates between low (0) and high (1) with a specified frequency and duty cycle. For details, see the Frequency Output block documentation.

New Counter Input Block Demo


The Real-Time Windows Target software now includes a demo that shows the operation of the Counter Input block. To see this demo, type rtcounter in the Matlab Command Window, or launch MATLAB Online Help and choose Real-Time Windows Target > Demos > Real-Time Counter.

Open Watcom Version 1.6 Is the Standard Bundled Compiler


The Real-Time Windows Target software now uses Version 1.6 of the Open Watcom C/C++ Compiler. The Open Watcom source code is available under the terms of the Open Watcom License. For more information, visit http://www.openwatcom.org.

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

New Features and Changes


Enhanced External Mode Communication Protocol
The External Mode communication protocol has been reworked and streamlined. The upgrade increases communication reliability and removes some capacity-related restrictions. Existing applications do not require changes in order to take advantage of these improvements.

Additional Supported I/O Boards


The V2.7 I/O library supports these boards in addition to those previously documented in Real-Time Windows Target release notes and documentation: Measurement Computing boards:

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

New Features and Changes

PCI-DAS6402-16 PCI-DIO24LP PCI-DIO24S PCI-PDISO16 PCI-PDISO8 PCIDAS64-M1-16 PCIDAS64-M2-16 PCIDAS64-M3-16

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

New Features and Changes


Additional Supported I/O Boards
The V2.6.2 I/O library supports these boards in addition to those previously documented in Real-Time Windows Target release notes and documentation: National Instruments boards:

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

New Features and Changes

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

New Features and Changes


C++ Code Generation
Version 2.6 supports generating C++ code, which previous versions did not.

48

R14SP2
Version: 2.5.2 New Features: Yes Bug Fixes: No

49

R14SP2

New Features and Changes


Bidirectional Counters
Version 2.5.2 supports bidirectional counters for National Instruments 60XX and 67XX boards.

C++ Code Generation

Compatibility Considerations: Yes

Although Real-Time Workshop software Version 6.2 supports generating C++ code, Real-Time Windows Target software Version 2.5.2 does not.

50

You might also like