Vehicle Network Toolbox™ Release Notes How to Contact MathWorks Latest news: www.mathworks.com Sales and services: www.mathworks.com/sales_and_services User community: www.mathworks.com/matlabcentral Technical support: www.mathworks.com/support/contact_us Phone: 508-647-7000 The MathWorks, Inc. 3 Apple Hill Drive Natick, MA 01760-2098 Vehicle Network Toolbox™ Release Notes © COPYRIGHT 2009–2015 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 government's 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 R2015a Significant decrease in memory usage for CAN messages . . 1-2 CAN message import speed doubled . . . . . . . . . . . . . . . . . . . . 1-2 R2014b Four times faster execution time for canMessageImport function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Optimized code generation for CAN blocks . . . . . . . . . . . . . . 2-2 R2014a Support for Kvaser, National Instruments, PEAK-System, and Vector CAN interface devices via Support Package Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Support for Additional Vector Devices . . . . . . . . . . . . . . . . . . 3-2 iii R2013b Support for additional National Instruments CAN devices that use NI-XNET driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Support for PEAK-System CAN interface devices . . . . . . . . . 4-2 Support for additional Kvaser devices . . . . . . . . . . . . . . . . . . 4-2 Support for additional Vector devices . . . . . . . . . . . . . . . . . . 4-2 R2013a XCP on CAN protocol support . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 MATLAB functions for transmitting and receiving XCP messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Simulink XCP blocks for connecting a model to a CAN bus or ECU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 XCP MATLAB functions and Simulink blocks for reading and writing dynamic DAQ and STIM lists . . . . . . . . . . . . . . . . . 5-2 XCP seed and key support for controlling access to a secured ECU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 A2L description file support . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 R2012b Old Message Filtering Functions Removed . . . . . . . . . . . . . . Compatibility Considerations . . . . . . . . . . . . . . . . . . . . . . . . iv Contents 6-2 6-2 Support for Vector VN1600 series CAN interface devices . . . 6-2 R2012a New UserData Property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 New discard Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 Enhanced Sampling Time Field in Vehicle Network Toolbox Simulink Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 receiveRaw Function No Longer Available . . . . . . . . . . . . . . 7-2 New Hardware Support for Kvaser Devices . . . . . . . . . . . . . 7-2 R2011b New CAN Message Replay and Logging Simulink Blocks . . . 8-2 New CAN Message Filtering Functions . . . . . . . . . . . . . . . . . 8-2 New Platform Support for 64-bit Windows for Vector and Kvaser Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 Support Added for Custom Receive and Transmit Blocks . . 8-2 Enhanced canMessageImport Function . . . . . . . . . . . . . . . . . 8-3 v R2011a New Hardware Support for National Instruments CAN Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 Message Filtering Option in the CAN Tool . . . . . . . . . . . . . . . 9-2 Deployable Code Generation in the CAN Blocks . . . . . . . . . . 9-2 receiveRaw function Removed . . . . . . . . . . . . . . . . . . . . . . . . 9-2 R2010b New canMessageImport Function . . . . . . . . . . . . . . . . . . . . . 10-2 Enhanced CAN Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2 Enhanced CAN Channel for Event-Based Message Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2 Enhanced CAN Channel for Periodic Message Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2 New Hardware Support for Kvaser Devices . . . . . . . . . . . . . 10-2 R2010a vi Contents New Hardware Support for Kvaser Devices . . . . . . . . . . . . . 11-2 Enhanced Toolbox and Block Library Performance . . . . . . 11-2 Removal of the receiveRaw Function . . . . . . . . . . . . . . . . . . 11-2 New Signals Property for CAN Message Functions . . . . . . . 11-3 New BusLoad Property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3 Enhanced filterSet Function . . . . . . . . . . . . . . . . . . . . . . . . . 11-3 Enhanced replay Function . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3 R2009b New Hardware Support for the Vector Informatik Device . 12-2 R2009a CAN Connectivity from MATLAB . . . . . . . . . . . . . . . . . . . . . 13-2 Vector CAN Database Support . . . . . . . . . . . . . . . . . . . . . . . . 13-2 CAN Message Encoding and Decoding . . . . . . . . . . . . . . . . . 13-2 CAN Message Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2 CAN Message Logging and Replay . . . . . . . . . . . . . . . . . . . . 13-2 CAN Block Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2 CAN Message Traffic GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2 MATLAB Compiler Support . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2 vii R2015a Version: 2.4 New Features Bug Fixes R2015a Significant decrease in memory usage for CAN messages CAN messages in the MATLAB® workspace use significantly less memory. CAN message import speed doubled You can now import CAN messages faster. 1-2 R2014b Version: 2.3 New Features Bug Fixes R2014b Four times faster execution time for canMessageImport function You can import messages into Vehicle Network Toolbox™ four times faster than before using the canMessageImport. Optimized code generation for CAN blocks CAN Simulink blocks are now optimized for code generation. Improvements include: • Generated code is optimized and no longer contains mismatched data type comparisons. • Improved MISRA compliance. • Optimized constraint checks to avoid unnecessary saturation of code. • Easier integration of custom transmit and receive blocks into existing applications. 2-2 R2014a Version: 2.2 New Features Bug Fixes R2014a Support for Kvaser, National Instruments, PEAK-System, and Vector CAN interface devices via Support Package Installer You can now install these supported CAN devices via the Support Package Installer • Kvaser • NI-CAN • NI-XNET • PEAK-System • Vector Support for Additional Vector Devices You can now use Vehicle Network Toolbox with Vector VN8900 interface family devices. 3-2 R2013b Version: 2.1 New Features R2013b Support for additional National Instruments CAN devices that use NIXNET driver You can now use Vehicle Network Toolbox with NI CAN devices that use the NI-XNET driver including NI PCI-8511, NI PCI-8512, NI PCI-8513, NI PXI-8511, NI PXI-8512, and NI PXI-8513. Support for PEAK-System CAN interface devices You can now use Vehicle Network Toolbox with PEAK-System devices including PCANUSB, PCAN-USB PRO, PCAN-ExpressCard, PCAN-PCI, PCAN-PCI Express, and PCAN-cPCI families. Support for additional Kvaser devices You can now use Vehicle Network Toolbox with Kvaser Blackbird V2, Kvaser Leaf Light V2, and Kvaser Mini PCI Express devices. Support for additional Vector devices You can now use Vehicle Network Toolbox Vector VN7600 device. 4-2 R2013a Version: 2.0 New Features Bug Fixes R2013a XCP on CAN protocol support You can now use XCP over CAN to communicate with your vehicle network. MATLAB functions for transmitting and receiving XCP messages You can now use new MATLAB functions to transmit and receive messages on your vehicle network using XCP. Simulink XCP blocks for connecting a model to a CAN bus or ECU You can now use new Simulink® XCP blocks to build a model that communicates with a CAN bus or an ECU. XCP MATLAB functions and Simulink blocks for reading and writing dynamic DAQ and STIM lists You can now use new MATLAB functions and Simulink XCP blocks to read data acquisition lists and write data stimulation lists to an XCP channel. XCP seed and key support for controlling access to a secured ECU You can now use seed and key security to control access to your ECU using XCP over CAN. A2L description file support You can parse an A2L file and also use it to create XCP channels connected to a CAN device. 5-2 R2012b Version: 1.7 Bug Fixes Compatibility Considerations R2012b Old Message Filtering Functions Removed The following filtering functions have been removed: • filterAcceptRange • filterBlockRange • filterReset • filterSet Use these new message filtering functions instead: • filterAllowAll • filterAllowOnly • filterBlockAll Compatibility Considerations You cannot access any of the old message filtering functions. Replace all instances of the old functions with the new functions. Support for Vector VN1600 series CAN interface devices You can now use the VN1600 series devices for CAN communication using the Vehicle Network Toolbox. 6-2 R2012a Version: 1.6 New Features Bug Fixes Compatibility Considerations R2012a New UserData Property You can now attach custom information to a CAN channel, message, or database using the new UserData property. New discard Function You can now use the discard function to clear all available messages on a CAN channel without restarting the channel. Enhanced Sampling Time Field in Vehicle Network Toolbox Simulink Blocks You can now use MATLAB variables to represent sampling time in Vehicle Network Toolbox Simulink blocks. receiveRaw Function No Longer Available You can no longer access receiveRaw and canMessageCompatibilityMode functions in the MATLAB workspace. Compatibility Considerations You cannot access direct signal properties as of R2012a of Vehicle Network Toolbox. Update your code to access physical signal values through the Signals property of message objects. New Hardware Support for Kvaser Devices New hardware support was added for Kvaser Memorator R SemiPro, USBcan R, and Eagle devices. 7-2 R2011b Version: 1.5 New Features Bug Fixes Compatibility Considerations R2011b New CAN Message Replay and Logging Simulink Blocks You can now log and replay CAN messages from your Simulink Model using the CAN Log and CAN Replay blocks. New CAN Message Filtering Functions You can use these functions to filter standard and extended CAN messages: • filterAllowAll • filterAllowOnly • filterBlockAll Compatibility Considerations The following message filtering functions will be removed in a future release: • filterAcceptRange • filterBlockRange • filterReset • filterSet You will see a warning when you use these functions. Use these new filtering functions instead. New Platform Support for 64-bit Windows for Vector and Kvaser Devices You can now use Vector and Kvaser CAN devices with Vehicle Network Toolbox on a 64bit Windows® system. Support Added for Custom Receive and Transmit Blocks You can now create your own Receive and Transmit blocks that communicate with unsupported hardware. You can use these custom blocks with the available Vehicle Network Toolbox Simulink blocks. 8-2 Enhanced canMessageImport Function The canMessageImport function now import messages faster from Vector and Kvaser log files. 8-3 R2011a Version: 1.4 New Features Bug Fixes Compatibility Considerations R2011a New Hardware Support for National Instruments CAN Devices Vehicle Network Toolbox supports NI CAN devices. You can use these devices for CAN communication in the toolbox and with CAN blocks in Simulink. Note: For a complete list of supported hardware, visit the Vehicle Network Toolbox product page at the MathWorks Web site Supported Hardware page. Message Filtering Option in the CAN Tool You now have the option to filter incoming messages in the CAN Tool and display only the messages you want to see, using message IDs. See Monitoring CAN Message Traffic for more information. Deployable Code Generation in the CAN Blocks You can now generate code from Simulink blocks in Vehicle Network Toolbox. Models containing the CAN Receive, CAN Transmit, and CAN Configuration blocks run successfully in Accelerator, Rapid Accelerator, External, and Deployed Modes. These blocks also now support using the Simulink Coder™ packNGo function. receiveRaw function Removed The receiveRaw function no longer works in the current release of Vehicle Network Toolbox. Compatibility Considerations You cannot access direct signal properties or use the canMessageCompatibilityMode function to restore access to direct signal properties starting with the current release of Vehicle Network Toolbox. Update your code to access physical signal values through the Signals property of message objects. 9-2 R2010b Version: 1.3 New Features Bug Fixes R2010b New canMessageImport Function The new canMessageImport function allows you to import CAN messages from Vector or Kvaser CAN log files. Enhanced CAN Tool The CAN Tool includes many enhancements such as: • A redesigned, flexible interface • Ability to decode messages attached to CAN database files Enhanced CAN Channel for Event-Based Message Transmission Use the transmitEvent function in MATLAB to enable messages for event-based transmission. Enhanced CAN Channel for Periodic Message Transmission Use the transmitPeriodic function in MATLAB to enable messages for periodic transmit. You can also configure the CAN Transmit block to send messages periodically. New Hardware Support for Kvaser Devices Vehicle Network Toolbox supports the following additional Kvaser CAN devices: • PCIEcan HS/HS • PCIEcan HS 10-2 R2010a Version: 1.2 New Features Bug Fixes Compatibility Considerations R2010a New Hardware Support for Kvaser Devices Vehicle Network Toolbox supports Kvaser CAN devices, including these products: BlackBird PC104 LAPcan PC104+ LAPcan II PCcan Leaf PCIcan Leaf Light PCIcanx Leaf Light Rugged PCIcan II Leaf Professional PCIcanx II Leaf SemiPro USBcan Memorator USBcan II Memorator II USBcan Rugged Memorator Professional USBcan Professional You can use these devices with the Vehicle Network Toolboxtm_vehiclenetworktoolbox; and the CAN block library. For a complete list of devices, see the Supported Hardware page at the MathWorks® Web site. Enhanced Toolbox and Block Library Performance The toolbox now transmits, receives, and processes messages at a faster rate. The Transmit and Receive blocks transmit and receive messages at a faster rate. Removal of the receiveRaw Function The receiveRaw function will be removed in a future release. In earlier software versions, the receiveRaw function expedited receive capability with minimal processing time and maximized message throughput. With enhanced toolbox performance this capability is no longer required. Performance of the standard receive function is significantly increased and you can use it to receive all messages. 11-2 Compatibility Considerations The receiveRaw function will be removed in a future release. You will see a warning when you use this function. Use the receive function instead. New Signals Property for CAN Message Functions The Signals property displays each physical signal as defined for a CAN message in the CAN database. The Signals property is not applicable if you are not using a CAN database. Signals displayed by the Signals property replaces access to direct signal property display of CAN messages. It has also increased the toolbox performance and the throughput of the message receive and transmit functions. Compatibility Considerations Direct signal properties will no longer appear in a message output. Use the new Signals property to access physical signal values. Update your code if you are using a CAN database and direct signal properties. Refer to the Signals property for more information. It is recommended that you update your code and use the new Signals property because all access to direct signal properties will be removed in a future release. If you cannot update your code at this time, you can use the canMessageCompatibilityMode function to restore access to direct signal properties. New BusLoad Property The BusLoad property displays the load on the CAN bus associated with the CAN message traffic on Kvaser devices. Enhanced filterSet Function The filterSet function now automatically calculates and applies the best case filter settings from an array of CAN IDs. Enhanced replay Function The replay function now replays messages from MATLAB to Simulink with their original timestamps without blocking Simulink operation. 11-3 R2009b Version: 1.1 New Features Bug Fixes R2009b New Hardware Support for the Vector Informatik Device Additional CAN hardware support is added for the CANcardXLe device. 12-2 R2009a Version: 1.0 New Features Bug Fixes R2009a CAN Connectivity from MATLAB You connect to a CAN network from the MATLAB interface with R2009a. Vector CAN Database Support Version 1.0 of the Vehicle Network Toolbox supports the Vector CAN database. CAN Message Encoding and Decoding You can encode and decode CAN traffic messages with Version 1.0 of the Vehicle Network Toolbox. CAN Message Filtering Version 1.0 of Vehicle Network Toolbox allows you to filter CAN messages by message ID. CAN Message Logging and Replay With Version 1.0 of Vehicle Network Toolbox you can log and replay CAN messages. CAN Block Library Version 1.0 of Vehicle Network Toolbox comes with a Simulink CAN block library that you can use to simulate CAN network models. CAN Message Traffic GUI Version 1.0 of Vehicle Network Toolbox provides a simple GUI that allows you to monitor CAN message traffic. MATLAB Compiler Support Version 1.0 of Vehicle Network Toolbox supports the MATLAB Compiler™. With this capability, you can use the MATLAB Compiler to take MATLAB files as input and generate redistributed, standalone applications that include Vehicle Network Toolbox functionality. 13-2
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
advertisement