Products & Services Solutions Academia Support User Community Company

Learn more about Simscape   

Version 3.1 (R2009a) Simscape Software

This table summarizes what's new in Version 3.1 (R2009a):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site
Yes
Details below
Yes—Details labeled as Compatibility Considerations, below. See also Summary.Bug Reports
Includes fixes
No

New features and changes introduced in this version are

Simscape Language Source Protection

Simscape language files can be protected to enable model sharing without disclosing the component or domain source. You can then share the protected (executable) files without disclosing the file content (similar to P-code vs M-code). While Simscape source files have the extension .ssc, Simscape protected files have the extension .sscp.

Use the ssc_protect command to protect individual files and directories.

Use the ssc_mirror command to create a protected copy of a whole package, along with a custom block library built from it.

For more information, see Using Source Protection for Simscape Files.

Expanded MATLAB Support of Simscape Files

MATLAB support of Simscape files has been expanded:

Viewable and Customizable Source Files for Foundation Library Blocks

You can now view the source files for many Foundation library blocks. When you open the block dialog box, it contains a link:

View source for BlockName

Click this link to open the Simscape source file for this block in the MATLAB Editor. To customize the block for your application, edit the source file and save it in a package directory. For more information, see Using Simscape Files in Block Diagrams.

Compatibility Considerations

The block source has been optimized, with some previously defined but unused variables eliminated. Therefore, when you load an old model containing Foundation blocks, you might get warnings, for example:

Warning: In instantiating linked block 'model/R1' : Resistor block (mask) does not 
have a parameter named 'current_Log'.

You can safely ignore these warnings. Once you save the model, the warnings will disappear.

Simscape Language Syntax Changes

The following changes have been implemented in Simscape language:

For more information, see the Simscape Language Guide.

Compatibility Considerations

The changes are relatively minor, but may require modifying your existing Simscape files. The following table summarizes the old and new syntax.

Old SyntaxNew Syntax
throughsvariables(Balancing=true)
equationequations

Increased Efficiency of Simscape Language Equations Processing

Simscape language equations are now processed more efficiently, reducing the time required to process equations with multiple if statements.

New Physical Signal Blocks to Facilitate Rounding

Three new Physical Signal blocks have been added to the Nonlinear Operators library:

Model Reference Accelerator Mode Support

Simscape and its vertical products now support Model Reference Accelerator Mode for model simulation, but not for code generation. Model Reference Accelerator Mode for code generation is supported only by SimMechanics™ and SimDriveline™ software.

Changes to Simscape Demos

The following demo has been added in Version 3.1:

Demo Name

Description

Creating A New Circuit
(ssc_new_elec)

Use this demo as a template for creating a new electrical model. Open the demo and use File > Save As to save it under the desired model name. Then delete the unwanted components and add new ones. This demo also opens an Electrical Starter Palette, which contains links to the most often used electrical components.

  


Related Products & Applications

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

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