Skip to Main Content Skip to Search
Product Documentation

Version 7.7 (R2011a) Simulink Software

This table summarizes what's new in V7.7 (R2011a):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known Problems
Yes
Details below
Yes—Details labeled as Compatibility Considerations, below. See also Summary.Bug Reports
Includes fixes

New features and changes introduced in this version are organized by these topics:

Simulation Performance

Restore SimState in Models Created in Earlier Simulink Versions

Simulink 7.7 supports the restoring of a SimState from a MAT file saved in a previous version of Simulink. During this operation, Simulink restores as much of the SimState object as possible and automatically resets the simulation start time to the stop time of the SimState object.

You can choose to receive a warning or an error by setting a new diagnostic, SimState object from earlier release, on the Diagnostic Pane of the Configuration Parameters dialog.

Improved Absolute Tolerance Implementation

The processing of the absolute tolerance parameter in the Solver configuration pane, and of the absolute tolerance parameters for continuous blocks and S-functions with continuous states, has been enhanced. As a result, these parameters provide a more robust and consistent behavior. These error tolerances are used by variable-step solvers to control integration error for continuous states in a model.

A new SimStruct function ssSetStateAbsTol has been introduced to allow for setting the absolute tolerances for the S-Function continuous states in models using a variable-step solver. Use of ssGetAbsTol to either get or set absolute tolerances is not recommended. Instead, use ssGetStateAbsTol and ssSetStateAbsTol to get and set tolerances, respectively.

Component-Based Modeling

Refreshing Linked Blocks and Model Blocks

You can refresh linked blocks and Model blocks in a library or model using the Simulink Editor. Select the Edit > Links and Model Blocks > Refresh.

Refreshing the linked blocks updates the linked blocks to reflect any changes to the original library block. In releases before R2011a, to update linked blocks, you had to take one of the following actions:

You can update a specific Model block by right-clicking the Model block and selecting Refresh.

Compatibility Considerations.  The new menu option, Edit > Links and Model Blocks > Refresh menu item replaces Edit > Model Blocks > Refresh Model Blocks. Both the old and new options update Model blocks in the same way.

Enhanced Model Block Displays Variant Model Choices

The Model Variants block now displays model names for all variant choices, making it easier to select and configure available variants.

See Setting Up Model Variants.

Creating a Protected Model Using the Simulink Editor

You can protect a model using the Simulink Editor. Right-click the Model block that references the model for which you want to generate protected model code. In the context menu, select Code Generation > Generate Protected Model. For details, see Creating a Protected Model.

In earlier releases, you had to use the Simulink.ModelReference.protect command to create a protected model.

MATLAB Function Blocks

Embedded MATLAB Function Block Renamed as MATLAB Function Block

In R2011a, Embedded MATLAB Function blocks were renamed as MATLAB Function blocks in Simulink models. The block also has a new look:

Compatibility Consideration.  If you have scripts that refer to Embedded MATLAB library blocks by path, you need to update the script to reflect the new block name. For example, if your script refers to simulink/User-Defined Functions/Embedded MATLAB Function or eml_lib/Embedded MATLAB Function, change Embedded MATLAB Function to MATLAB Function.

Support for Buses in Data Store Memory

MATLAB Function blocks now support buses as shared data in Data Store Memory blocks.

Simulink Data Management

Signal Logging Selector

The Signal Logging Selector is a new centralized signal logging tool for:

You can use the Signal Logging Selector with Simulink and Stateflow signals.

To open the Signal Logging Selector, in the Configuration Parameters > Data Import/Export pane, select the Signal Logging Selector button. For a Model block, you can right-click the block and select the Log Referenced Signals menu item. (The Signal Logging Selector replaces the Model Reference Signal Logging dialog box.)

See Overriding Signal Logging Settings and Using the Signal Logging Selector to View the Signal Logging Configuration.

Dataset Format Option for Signal Logging Data

You can now select a format for signal logging data. Use the Configuration Parameters > Data Import/Export > Signal logging format parameter to select the format:

The Dataset format:

To convert a model that contains referenced models to use the Dataset format throughout the model reference hierarchy, use the Simulink.SimulationData.updateDatasetFormatLogging function.

If you have logged signal data in the ModelDataLogs format, you can use the Simulink.ModelDataLogs.convertToDataset function to convert the ModelDataLogs data to Dataset format.

To work with Dataset format data, you can use properties and methods of the following classes:

For information about the signal logging format, see Specifying the Signal Logging Data Format

From File Block Supports Zero-Crossing Detection

The From File block allows you to specify zero-crossing detection.

Signal Builder Block Now Supports Virtual Bus Output

You can now define the type of output to use on the Signal Builder block now outputs signals. With this release, the Signal Builder block has two options:

For more information, see Defining Signal Output in the Simulink User's Guide

Signal Builder Block Now Shows the Currently Active Group

The Signal Builder block now shows the currently active group on its block mask.

signalbuilder Function Change

The signalbuilder function has a new command, 'annotategroup'. This command enables the display of the current group name on the Signal Builder block mask.

Range-Checking Logic for Fixed-Point Data During Simulation Improved

The logic that Simulink uses to check whether design minimum and maximum values are within the specified data type range is now consistent with the logic that it uses to calculate best-precision scaling.

For more information about block parameter range checking, see Checking Parameter Values.

Compatibility Considerations.  

Data Object Wizard Now Supports Boolean, Enumerated, and Structured Data Types for Parameters

In this release, the Data Object Wizard is enhanced to suggest parameter objects for variables with the following data types:

For information, see Working with Data Objects and Data Object Wizard.

Error Now Generated When Initialized Signal Objects Back Propagate to Output Port of Ground Block

Prior to this release, Simulink generated an error when the output of a Ground block was a signal object with an initial value, but did not do the same for such signal objects back propagated to the output port of a Ground block. As of R2011a, Simulink generates an error under both conditions.

No Longer Able to Set RTWInfo or CustomAttributes Property of Simulink Data Objects

You can no longer set the RTWInfo or CustomAttributes property of a Simulink data object from the MATLAB Command Window or a MATLAB script. Attempts to set these properties generate an error.

Although you cannot set RTWInfo or CustomAttributes, you can still set subproperties of RTWInfo and CustomAttributes.

Compatibility Considerations.  Operations from the MATLAB Command Window or a MATLAB script, which set the data object property RTWInfo or CustomAttributes, generate an error.

For example, a MATLAB script might set these properties by copying a data object as shown below:

a = Simulink.Parameter;
b = Simulink.Parameter;
b.RTWInfo = a.RTWInfo;
b.RTWInfo.CustomAttributes = a.RTWInfo.CustomAttributes;
 .
 .
 .

To copy a data object, use the object's deepCopy method.

a = Simulink.Parameter;
b = a.deepCopy;
.
.
.

Global Data Stores Now Treat Vector Signals as One or Two Dimensional

Simulink now uses the Dimensions attribute of a source signal object to determine whether to register a global data store as a vector (1-D) or matrix (2-D). For example, if the Dimensions attribute of a source signal object is set to [1 N] or [N 1], Simulink registers the global data store as a matrix. Prior to R2011a, Simulink treated all global data stores as vectors.

The following table lists possible signal object dimension settings with what Simulink registers for a corresponding global data store:

Source Signal Object DimensionsRegistered for Global Data Store
–1Get dimensions from InitialValue and interpret vectors as 1-D
NVector with N elements
[1 N]1xN matrix
[N 1]Nx1 matrix

Compatibility Considerations.  If you specify the dimensions of the source signal object for a global data store as [1 N] or [N 1], Simulink now registers the data store as a matrix. Although this change has no impact on numeric results of simulation or execution of generated code, the change can affect the following:

No Longer Able to Use Trigger Signals Defined as Enumerations

You can no longer use trigger signals that are defined as enumerations. A trigger signal represents an external input that initiates execution of a triggered subsystem. Prior to R2011a, Simulink supported enumerated trigger signals for simulation, but produced an error during code generation. This change clarifies triggered subsystem modeling semantics by making them consistent across simulation and code generation.

Compatibility Considerations.  Use of enumerated trigger signals during simulation now generates an error. To work around this change, compare enumeration values, as appropriate, and apply the resulting Boolean or integer signal value as the subsystem trigger.

Conversions of Simulink.Parameter Object Structure Field Data to Corresponding Bus Element Type Supported for double Only

If you specify the DataType field of a Simulink.Parameter object as a bus, you must specify Value as a numeric structure. Prior to R2011a, Simulink would convert the data types of all fields of that structure to the data types of corresponding bus elements. As of R2011a, Simulink converts the data type of structure fields of type double only. If the data type of a field of the structure does not match the data type of the corresponding bus element and is not double, an error occurs.

This change does not affect the InitialValue field of Simulink.Signal objects. Data types of fields of a numeric structure for an initial condition must match data types of corresponding bus elements.

Compatibility Considerations.   If the data type of a field of a numeric structure that you specify for Simulink.Parameter does not match the data type of the corresponding bus element and is not double, an error occurs. To correct the condition, set the data types of all fields of the structure to match the data types of all bus elements or set them to type double.

For more information, see Simulink.Parameter.

Simulink.CustomParameter and Simulink.CustomSignal Data Classes To Be Deprecated in a Future Release

In a future release, data classes Simulink.CustomParameter and Simulink.CustomSignal will no longer be supported because they are equivalent to Simulink.Parameter and Simulink.Signal.

Compatibility Considerations.   If you use the data class Simulink.CustomParameter or Simulink.CustomSignal, Simulink posts a warning that identifies the class and describes one or more techniques for eliminating it. You can ignore these warnings in R2011a, but consider making the described changes now because the classes will be removed in a future release.

Parts of Data Class Infrastructure No Longer Available

Simulink has been generating warnings for usage of the following data class infrastructure features for several releases. As of R2011a, the features are no longer supported.

Compatibility Considerations.  

Simulink Signal Management

Data Store Support for Bus Signals

The following blocks support the use of bus and array of buses signals with data stores:

Benefits of using buses and arrays of buses with data stores include:

For details, see Using Data Stores with Buses and Arrays of Buses.

Compatibility Considerations.  Pre-R2011a models that use data stores work in R2011a without any modifications.

To save a model that uses buses with data stores to a pre-R2011a version, you need to restructure that model to not rely on using buses with data stores.

Accessing Bus and Matrix Elements in Data Stores

You can select specific bus or matrix elements to read from or write to a data store. To do so, use the Element Selection pane of the Data Store Read block and the Element Assignment pane of the Data Store Write block. Selecting bus or matrix elements offers the following benefits:

See Accessing Data Stores with Simulink Blocks.

Array of Buses Support for Permute Dimensions, Probe, and Reshape Blocks

The following blocks now support the use of an array of buses as an input signal:

For details about arrays of buses, see Combining Buses into an Array of Buses.

Using the Bus Editor to Create Simulink.Parameter Objects and MATLAB Structures

You can use the Bus Editor to:

Block Enhancements

Lookup Table, Lookup Table (2-D), and Lookup Table (n-D) Blocks Replaced with Newer Versions in the Simulink Library

In R2011a, the following lookup table blocks have been replaced with newer versions, which differ from the previous versions as follows:

BlockEnhancements to the Previous VersionOther Changes

Lookup Table

  • Default integer rounding mode changed from Floor to Simplest

  • Support for the following features:

    • Specification of parameter data types different from input or output signal types

    • Reduced memory use and faster code execution for nontunable breakpoints with even spacing

    • Cubic-spline interpolation and extrapolation

    • Table data with complex values

    • Fixed-point data types with word lengths up to 128 bits

    • Specification of data types for fraction and intermediate results

    • Specification of index search method

    • Specification of diagnostic for out-of-range inputs

Lookup Table (2-D)

  • Default integer rounding mode changed from Floor to Simplest

  • Support for the following features:

    • Specification of parameter data types different from input or output signal types

    • Reduced memory use and faster code execution for nontunable breakpoints with even spacing

    • Cubic-spline interpolation and extrapolation

    • Table data with complex values

    • Fixed-point data types with word lengths up to 128 bits

    • Specification of data types for fraction and intermediate results

    • Specification of index search method

    • Specification of diagnostic for out-of-range inputs

  • Check box for Require all inputs to have the same data type now selected by default

Lookup Table (n-D)

  • Default integer rounding mode changed from Floor to Simplest

When you load models from earlier versions of Simulink that contain the Lookup Table, Lookup Table (2-D), and Lookup Table (n-D) blocks, those versions of the blocks appear. In R2011a, the new versions of the lookup table blocks appear only when you drag the blocks from the Simulink Library Browser into new models.

When you use the add_block function to programmatically add the Lookup Table, Lookup Table (2-D), or Lookup Table (n-D) blocks to a model, those versions of the blocks appear. If you want to add the new versions of the blocks to your model, change the source block path for add_block as follows:

BlockOld Block PathNew Block Path
Lookup Table simulink/Lookup Tables/Lookup Tablesimulink/Lookup Tables/1-D Lookup Table
Lookup Table (2-D)simulink/Lookup Tables/Lookup Table (2-D)simulink/Lookup Tables/2-D Lookup Table
Lookup Table (n-D)simulink/Lookup Tables/Lookup Table (n-D)simulink/Lookup Tables/n-D Lookup Table

To upgrade your model to use new versions of the Lookup Table and Lookup Table (2-D) blocks, follow these steps:

StepDescriptionReason
1

Run the Simulink Model Advisor check for Check model, local libraries, and referenced models for known upgrade issues requiring compile time information.

Identify blocks that do not have compatible settings with the new 1-D Lookup Table and 2-D Lookup Table blocks.

2

For each block that does not have compatible settings:

  • Decide how to address each warning.

  • Adjust block parameters as needed.

Modify each Lookup Table or Lookup Table (2-D) block to make them compatible with the new versions.

3

Repeat steps 1 and 2 until you are satisfied with the results of the Model Advisor check.

Ensure that block replacement works for the entire model.

4

Run the slupdate function on your model.

Perform block replacement with the 1-D Lookup Table and 2-D Lookup Table blocks.

Note that after block replacement, the block names that appear in the model remain the same. However, the block icons match the new ones for the 1-D Lookup Table and 2-D Lookup Table blocks.

Compatibility Considerations.  The Model Advisor check groups all Lookup Table and Lookup Table (2-D) blocks into three categories:

Blocks with Compatible Settings

When a block has compatible parameter settings with the new block, automatic block replacement can occur without backward incompatibilities.

Lookup Method in the Lookup Table or Lookup Table (2-D) BlockParameter Settings in the New Block After Automatic Block Replacement
InterpolationExtrapolation
Interpolation-ExtrapolationLinearLinear
Interpolation-Use End ValuesLinearClip
Use Input BelowFlatNot applicable

Depending on breakpoint characteristics, the new block uses one of two index search methods.

Breakpoint Characteristics in the Lookup Table or Lookup Table (2-D) BlockIndex Search Method in the New Block After Automatic Block Replacement
Not evenly spacedBinary search
Evenly spaced and tunableA prompt appears, asking you to select Binary search or Evenly spaced points.
Evenly spaced and not tunable

The new block also adopts other parameter settings from the Lookup Table or Lookup Table (2-D) block. For parameters that exist only in the new block, the following default settings apply after block replacement:

Parameter in the New BlockDefault Setting After Block Replacement
Breakpoint data typeInherit: Same as corresponding input
Diagnostic for out-of-range inputNone

Blocks with Incompatible Settings

When a block has incompatible parameter settings with the new block, the Model Advisor shows a warning and a recommended action, if applicable.

Incompatibility WarningRecommended ActionWhat Happens for Automatic Block Replacement

The Lookup Method is Use Input Nearest or Use Input Above. The new block does not support these lookup methods.

Change the lookup method to one of the following:

  • Interpolation - Extrapolation

  • Interpolation - Use End Values

  • Use Input Below

The Lookup Method changes to Interpolation - Use End Values.

In the new block, this setting corresponds to:

  • Interpolation set to Linear

  • Extrapolation set to Clip

You also see a message that explains possible numerical differences.

The Lookup Method is Interpolation - Extrapolation, but the input and output are not the same floating-point type. The new block supports linear extrapolation only when all inputs and outputs are the same floating-point type.

Change the extrapolation method or the port data types of the block.

The block uses small fixed-point word lengths, so that interpolation uses only one rounding operation. The new block uses two rounding operations for interpolation.

None

You see a message that explains possible numerical differences.

Blocks with Repeated Breakpoints

When a block has repeated breakpoints, the Model Advisor recommends that you change the breakpoint data and rerun the check. You cannot perform automatic block replacement for blocks with repeated breakpoints.

Magnitude-Angle to Complex Block Supports CORDIC Algorithm and Fixed-Point Data Types

The Magnitude-Angle to Complex block now supports the following parameters:

The benefits of the new block parameters are as follows:

New Block ParameterPurposeBenefit
Approximation method

Specify the type of approximation the block uses to compute output: None or CORDIC.

Enables you to use a faster method of computing block output for fixed-point and HDL applications.

Number of iterations

For the CORDIC algorithm, specify how many iterations to use for computing block output.

Enables you to adjust the precision of your block output.

Scale output by reciprocal of gain factor

For the CORDIC algorithm, specify whether or not to scale the real and imaginary parts of the complex output.

Provides a more accurate numerical result for the CORDIC approximation.

This block now accepts and outputs fixed-point signals when you set Approximation method to CORDIC.

Trigonometric Function Block Supports Complex Exponential Output

The Trigonometric Function block now supports complex exponential output: cos + jsin. This function works with the CORDIC algorithm.

This block also accepts inputs with unsigned fixed-point data types when you use the CORDIC approximation. In previous releases, only signed fixed-point inputs were supported.

Shift Arithmetic Block Supports Specification of Bit Shift Values as Input Signal

The Shift Arithmetic block now supports specification of bit shift values from an input port. Previously, you could specify bit shift values only on the dialog box. This enhancement enables you to change bit shift values without stopping a simulation.

The block now also supports the following functionality:

EnhancementBenefit

Specification of diagnostic for out-of-range bit shift values

Flags out-of-range bit shift values during simulation

Option to check for out-of-range bit shift values in the generated code

Enables you to control the efficiency of the generated code

The following parameter changes apply to the Shift Arithmetic block. For backward compatibility, the old command-line parameters continue to work.

Old Prompt on Block Dialog BoxNew Prompt on Block Dialog BoxOld Command-Line ParameterNew Command-Line Parameter
Number of bits to shift rightBits to shift: NumbernBitShiftRightBitShiftNumber
Number of places by which binary point shifts rightBinary points to shift: NumbernBinPtShiftRightBinPtShiftNumber

The read-only BlockType property has also changed from SubSystem to ArithShift.

Multiple Lookup Table Blocks Enable Removal of Range-Checking Code

When the breakpoint input to a Prelookup, 1-D Lookup Table, 2-D Lookup Table, or n-D Lookup Table block falls within the range of valid breakpoint values, you can disable range checking in the generated code. By selecting Remove protection against out-of-range input in generated code on the block dialog box, your code can be more efficient.

Similarly, when the index input to an Interpolation Using Prelookup block falls within the range of valid index values, you can disable range checking in the generated code. By selecting Remove protection against out-of-range index in generated code on the block dialog box, your code can be more efficient.

The Remove protection against out-of-range index in generated code check box replaces the Check index in generated code check box from previous releases. When you load models with the Interpolation Using Prelookup block from previous releases, the following parameter mapping applies:

Parameter Setting from Previous ReleasesParameter Setting for R2011a
Check index in generated code is selected.Remove protection against out-of-range index in generated code is not selected.
Check index in generated code is not selected.Remove protection against out-of-range index in generated code is selected.

For backward compatibility, the command-line parameter CheckIndexInCode continues to work.

Enhanced Dialog Layout for the Prelookup and Interpolation Using Prelookup Blocks

In R2011a, the dialog boxes for the Prelookup and Interpolation Using Prelookup blocks consolidate parameters related to data type attributes on a single tab named Data Types. This enhancement enables you to specify data type attributes more quickly on the block dialog box.

Product of Elements Block Uses a Single Algorithm for Element-Wise Complex Division

In previous releases, the Product of Elements block used two different algorithms for handling element-wise complex division. For example, for a matrix input with four elements (u1, u2, u3, and u4), the following behavior would apply:

Starting in R2011a, the Product of Elements block uses a single algorithm for handling element-wise complex division. For inputs of integer, floating-point, or fixed-point type, the order of operations is always (((((1/u1)/u2)/u3)/u4)…/uN).

Sign Block Supports Complex Floating-Point Inputs

The Sign block now supports complex inputs of type double or single. The block output matches the MATLAB result for complex floating-point inputs.

When the input u is a complex scalar, the block output is:

sign(u) = u./ abs(u)

When an element of a vector or matrix input is complex, the block uses the same formula that applies to scalar input.

MATLAB Fcn Block Renamed to Interpreted MATLAB Function Block

In R2011a, the MATLAB Fcn block has been renamed to Interpreted MATLAB Function block. The icon has also changed to match the new block name. However, all functionality and block parameters remain the same. The read-only BlockType property is also unchanged.

Existing scripts that use the add_block function to programmatically add the MATLAB Fcn block to models do not require any changes.

When you load existing models that contain the MATLAB Fcn block, the block name that appears in the model remains unchanged. However, the block icon matches the new one for the Interpreted MATLAB Function block.

Environment Controller Block Port Renamed from RTW to Coder

In R2011a, the Environment Controller block has renamed the RTW port to Coder. This enhancement better reflects the purpose of that input port, which designates signals to pass through the block when code generation occurs for a model.

Block Parameters on the State Attributes Tab Renamed

In R2011a, the block parameters Real-Time Workshop storage class and Real-Time Workshop storage type qualifier have been renamed to Code generation storage class and Code generation storage type qualifier, respectively. These two parameters appear on the State Attributes tab of the following block dialog boxes:

Block Parameters and Values Renamed for Lookup Table Blocks

In R2011a, the Action for out-of-range input parameter has been renamed as Diagnostic for out-of-range input for the following blocks:

Also, the Process out-of-range input parameter has been renamed as Extrapolation method for the Prelookup block.

For lookup table blocks that provide Interpolation method or Extrapolation method parameters, the following changes apply:

Parameter Value from Previous ReleasesParameter Value in R2011a
None - FlatFlat
None - ClipClip

Performance Improvement for Single-Precision Computations of Elementary Math Operations

In R2011a, single-precision computations for elementary math operations are faster. This enhancement applies to the following simulation modes:

Dead Zone Block Expands the Region of Zero Output

In R2011a, the Dead Zone block expands the region of zero output, or the dead zone, to include inputs (U) that equal the lower limit (LL) or upper limit (UL):

InputOutput
U >= LL and U <= ULZero
U > ULUUL
U < LLULL

In previous releases, the dead zone excluded inputs that equal the lower or upper limit.

Enhanced PID Controller Blocks Display Compensator Formula in Block Dialog Box

The PID Controller and PID Controller (2 DOF) blocks now display the current compensator formula in the block dialog box. This display reflects the current settings for controller type, controller form, and time domain.

Ground Block Always Has Constant Sample Time

In R2011a, the sample time of the Ground block is now constant (inf) regardless of the setting for Inline parameters in the Configuration Parameters dialog box.

Compatibility Considerations.  Previously, if Inline parameters was off, the sample time of the Ground block depended on sample-time propagation. Now, the following conditions hold true:

New Function-Call Feedback Latch Block

The Function-Call Feedback Latch block allows you to break a feedback loop involving data signals between function-call signals. You can use this block for two specific scenarios:

In either case, the latching results in the destination block reading a delayed signal from the previous execution of the source function-call block.

Outport Driving Merge Block Does Not Require IC in Simplified Initializaton Mode

If an Outport block of a conditionally executed subsystem directly drives a Merge block, then the Outport block no longer requires the specification of an Initial Condition (IC) in simplified initialization mode. Simulink still expects the Merge block to specify an IC. This enhancement applies only when the Outport and Merge blocks are in the same model.

Discrete Filter, Discrete FIR Filter, and Discrete Transfer Fcn Blocks Now Have Input Processing Parameter

The Discrete Filter, Discrete FIR Filter, and Discrete Transfer Fcn blocks now have an Input processing parameter. This parameter enables you to specify whether the block performs sample- or frame-based processing on the input. To perform frame-based processing, you must have a DSP System Toolbox license.

Model Blocks Can Now Use the GetSet Custom Storage Class

The GetSet custom storage class can now be used for the inports and outports of Model blocks. To assign a GetSet custom storage class to the inport or outport of a referenced model block, use one of the following methods.

  1. Assign the GetSet custom storage class to the root-level inport or outport of the referenced model.

  2. Assign the GetSet custom storage class to scalar signals entering an inport of the referenced model block in the parent model, provided one of the following conditions is met.

    1. The referenced model uses function prototype control to specify that the inport should be passed by value instead of being passed by pointer to the Model block's step function.

    2. The inport to which the GetSet custom storage class is assigned should be passed by value.

  3. Assign the GetSet custom storage class to a scalar signal leaving one of the outports of the referenced model block in the parent model. In this case, the referenced model must use function prototype control to specify that the outport should be the returned value of the function.

User Interface Enhancements

Model Explorer: Hiding the Group Column

By default, the property column that you use for grouping (the group column) appears in the property table. That property also appears in the top row for each group.

To hide the group column, use one of the following approaches:

Simulation Data Inspector Enhancements

Multiple Plots in a View.  The Simulation Data Inspector tool now supports the configuration of multiple plots into one view. On the Inspect Signals pane, on the View toolbar, select Show Details to display the View Details table.

You can create multiple views by clicking the New view from current button. In each view, you can:

For more information, see Visual Inspection of Signal Data in the Simulation Data Inspector Tool.

Display Run Properties.  In R2011a, you can view the properties of a run. In the Signal Browser table, right-click a run name to view a list of options. To open the Run Properties dialog box, from the options list, select Properties.

New Toolbar Icons.  The Simulation Data Inspector toolbar includes a new icon for zooming out a section of a plot. The previous zoom out icon now performs a fit to view operation, which enlarges a plot to fill the graph. To perform either operation, select the icon, and click on a plot.

Model Advisor

In R2011a, the Model Advisor tool now includes easier control of the By Product and By Task folders. In the Model Advisor, select View > Show By Product Folder or Show By Task Folder to show or hide each folder. These settings are persistent across MATLAB sessions.

In the By Task folder, there are two new subfolders:

For more information on the Model Advisor GUI, see Consulting the Model Advisor.

Configuration Parameters Dialog Box Changes

The Configuration Parameters dialog box layout is improved to better support your workflows. The Optimization pane is reorganized into three panes:

These panes make it easier to find parameters.

In R2011a, all tree nodes are collapsed by default. For details, see Configuration Parameters Dialog Box.

S-Functions

S-Functions Generated with legacy_code function and singleCPPMexFile S-Function Option Must Be Regenerated

Due to an infrastructure change, if you have generated an S-function with a call to legacy_code that defines the S-function option singleCPPMexFile, you must regenerate the S-function to use it with this release of Simulink.

For more information, see the description of legacy_code and Integrating Existing C Functions into Simulink Models with the Legacy Code Tool.

Compatibility Considerations.  If you have generated an S-function with a call to legacy_code that defines the S-function option singleCPPMexFile, regenerate the S-function to use it with this release of Simulink.

  


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