Skip to Main Content Skip to Search
Product Documentation

Version 3.2 (R2011b) Simulink Verification and Validation Software

This table summarizes what's new in Version 3.2 (R2011b):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known Problems
Yes
Details below
Yes
Summary
Bug Reports
Includes fixes

New features and changes introduced in this version are:

Condition and MCDC Coverage for If Block Conditions

The If block now receives condition and MCDC coverage on any if conditions or elseif conditions that contain logical expressions with multiple conditions. Previously, the If block only received decision coverage.

The If block receives coverage as follows:

Capability to Store Requirements Information Outside the Model File

The Requirements Management Interface (RMI) now provides an option to store requirements links information in an external file. The default name for this file is model_name.req. External storage allows you to:

To enable external storage of requirements links, in the Requirements Settings dialog box, on the Storage tab, select Store externally (in a separate .req file). After setting this option, all models for which you create new requirements links will use external storage.

The RMI provides several new functions that allow you to manage the links in external files:

Selection-Based Linking for Custom Requirements Documents

If you link to requirements in custom requirements documents, you can now define link type properties that provide selection-based linking capabilities for these documents. Selection-based linking will be available when you:

For more information, see Custom Types of Requirements Documents.

Include Requirements Document Data in the Report

The Requirements Management Interface (RMI) can now include details from requirements text in the requirements report, depending on the type of requirements document:

Before you generate the requirements report, in the Requirements Settings dialog box, on the Report tab, select Include details from linked documents.

Microsoft Excel Support for Consistency Checking of Simulink References in Requirements Documents

The rmi function has a 'checkdoc' option that checks links from requirements documents to Simulink model objects. This option now checks Microsoft Excel requirements documents, in addition to Microsoft Word documents and IBMRationalDOORS databases.

Requirements Report Default File Names Based on Model Names

When the Requirements Management Interface (RMI) generates an HTML report file, it now uses the model name in the file name. The default name for a requirements report is model_name_report.html.

Changed Format for slvnvruntest and slvnvruncgvtest Output

The output format for slvnvruntest and slvnvruncgvtest changed in R2011b. In R2011b, the output argument contains the following data for each test case executed in an array of Simulink.SimulationOutput objects:

Field

Description

tout_slvnvruncgvtest

Simulation time

xout_slvnvruncgvtest

State data

yout_slvnvruncgvtest

Output signal data

logsout_slvnvruncgvtest

Signal logging data for:

  • Signals that are connected to outports

  • Signals that are configured for logging on the model

Compatibility Considerations

If you have scripts that depend on the output from slvnvruntest and slvnvruncgvtest, you can temporarily specify the output format. Use the nonvisible field outputFormat in the runOpts structure that slvnvruntestopts creates as follows:

runOpts = slvnvruntestopts;
runOpts.outputFormat = 'TimeSeries';
slvnvruntest(model_name, sldvData, runOpts);

or

runOpts = slvnvruntestopts;
runOpts.outputFormat = 'StructureWithTime';
slvnvruntest(model_name, data, runOpts);

Conversion of Error and Warning Message Identifiers

For R2011b, error and warning message identifiers have changed in Simulink Verification and Validation.

Compatibility Considerations

If you have scripts or functions that use message identifiers that changed, you must update the code to use the new identifiers. Typically, message identifiers are used to turn off specific warning messages, or in code that uses a try/catch statement and performs an action based on a specific error identifier.

For example, the SLVNV:simcoverage:InvalidFirstArgument identifier has changed to SLVNV:simcoverage:complexityinfo:InvalidFirstArgument. If your code checks for SLVNV:simcoverage:InvalidFirstArgument, you must update it to check for SLVNV:simcoverage:complexityinfo:InvalidFirstArgument instead.

To determine the identifier for a warning, run the following command just after you see the warning in the MATLAB command window:

[MSG,MSGID] = lastwarn;

This command saves the message identifier to the variable MSGID.

To determine the identifier for an error that appears at the MATLAB prompt, run the following commands just after you see the error:

exception = MException.last;
MSGID = exception.identifier;

API for Creating Procedural-Based Model Advisor Configurations

In R2011b, there is a new API you can use to create a procedural-based Model Advisor configuration. A procedural-based configuration allows you to specify the order in which you make changes to your model. You do this by organizing checks into procedures using the procedures API. A check in a procedure does not run until the previous check passes. A procedural-based configuration runs until a check fails, requiring you to modify the model to pass the check and proceed on to the next check. For more information, see Creating Procedural-Based Model Advisor Configurations.

New Model Advisor Checks

The Simulink Model Advisor includes new modeling standards checks.

ISO 26262 Checks

The Model Advisor By Task folder contains a new Modeling Standards for ISO 26262 check:

IEC 61508 Checks

The Model Advisor By Task folder contains a new Modeling Standards for IEC 61508 check:

DO-178B Checks

The Model Advisor By Task folder contains a new Modeling Standards for DO-178B check:

Check Input Parameters in Model Advisor Report

In R2011b, the Model Advisor report now displays the check input parameters. For more information, see Viewing and Saving Model Advisor Reports in the Simulink documentation.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS