Version 2.2 (R14) SimMechanics Software

This table summarizes what's new in V2.2 (R14):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site
YesYes—Details labeled as Compatibility Considerations, below. See also Summary.Fixed bugs
at Web site
No

New features and changes introduced in this version are described here.

Simulation and Visualization Controls Changes

This version of SimMechanics software introduces significant changes to how you control simulation, mechanical environment, and visualization in SimMechanics models. These changes, summarized below, include

The new controls are fully documented in the SimMechanics User's Guide chapters on running simulations and visualization.

New Machine Environment Block

In the new version of SimMechanics software, you configure the mechanical environment for an entire model in the SimMechanics node of the Configuration Parameters dialog, accessed via the Simulation menu. You configure the mechanical environment for each separate machine diagram (one or more per model) via its Machine Environment block. These two dialogs replace the old Mechanical Environment Settings dialog.

You must connect exactly one Machine Environment block to each separate machine diagram at one of the machine's Ground blocks. The new Machine Environment block is located in the Bodies library.

See Choosing a Ground Block as Machine Root following.

Compatibility Considerations

Prior to this version, SimMechanics models recorded mechanical environment data in the Mechanical Environment Settings dialog. Although you can no longer access this dialog from the Simulation menu, you can continue to run old models as they are. If you want to view these old settings, enter mech_environment(gcs) at the command line with your old model open. You cannot change the dialog settings.

If you want to change the settings in old models or build a new SimMechanics model, you must use the new Machine Environment block. Copying this block from the Bodies library into an old model causes the old Mechanical Environment Settings data to be copied into the block. You can then reconfigure the new block as you want.

Choosing a Ground Block as Machine Root

The new Ground block has the option of being chosen as the root for a machine's Machine Environment block. In each separate machine diagram (one or more per model), choose one such Ground by selecting Show Mechanical Environment port in its dialog. The corresponding port then appears on the Ground. Then connect a Machine Environment block to the Ground at this port.

See New Machine Environment Block preceding.

Optional Two-Dimensional Solver

The new Machine Environment block allows you to choose, through its Machine dimensionality pull-down menu, a specialized solver for a machine that moves in only two dimensions. SimMechanics software detects the dimensionality and automatically adjusts the solver by default. But you can override the default and require SimMechanics software to simulate in either three or two dimensions.

The two-dimensional solver significantly improves simulation performance in two and one dimensions.

Optional Gravity Signal

The new Machine Environment block allows you to input gravity as an external Simulink signal. In the block dialog, select Input gravity as signal. A Simulink inport appears for connecting the Simulink signal line. The gravity must be a three-component vector signal. You choose the units in the Gravity vector units pull-down menu of the block dialog. SimMechanics software interprets the vector gravity signal the same way it interprets the static Gravity vector field value in the block dialog.

If you choose gravity as a signal, the Gravity vector field is ignored.

New SimMechanics Diagnostics Settings

SimMechanics software now lets you control diagnostic messages. In the SimMechanics node of the Configuration Parameters dialog, accessed via the Simulation menu, you can select to enable or disable certain warning messages, and whether to mark closed-loop joints cut automatically by SimMechanics software.

Restricted Body Coordinate System References

All coordinate system (CS) references in Body blocks from one CS to another CS must now refer to only

All other CS references now cause simulation errors.

Compatibility Considerations

Other types of CS references from one Body to another now lead to simulation errors. If any of your old models contain such references, you must update them.

Minimum Number of Body Coordinate Systems

You can no longer eliminate all the non-center-of-gravity (CG) Body coordinate systems (CSs) on a Body block dialog. Besides the undeletable CG CS entry, at least one non-CG CS must remain.

Visualization Controls Relocated

You now enable SimMechanics visualization and animation for an entire model in the Visualization area of the SimMechanics node of the Configuration Parameters dialog, reached via the Simulation menu. You now enable or disable visualization for individual machines within a model via the Visualization tab of the Machine Environment block dialog. See New Machine Environment Block preceding.

All SimMechanics visualization controls are now located on the specially configured MATLAB Graphics visualization window, in the SimMechanics menu and toolbar.

Manual Updating of Body Visualization

SimMechanics visualization no longer immediately displays a Body newly added to a model. Instead you must update the model by selecting Update Diagram from the Edit menu.

Internal Virtual Reality Visualization No Longer Supported

SimMechanics software no longer includes internally integrated Virtual Reality Toolbox™ visualization. Models configured to use virtual reality now default to the MATLAB Graphics visualization/animation tool, which is still supported by SimMechanics software.

See the Visualizing with an External Virtual Reality Client of the visualization chapter in the SimMechanics documentation.

Consult the Web product page for more about Virtual Reality Toolbox.

Compatibility Considerations

You can continue to use Virtual Reality Toolbox with SimMechanics models by creating your own virtual world for your machine, incorporating into your model a VR Sink block linked to your virtual world, and feeding Body Sensor signals to the VR Sink.

Code Generation with Point-Curve Constraint Now Enabled

The Point-Curve Constraint no longer creates algebraic loops in Simulink. This improvement means that you can now generate code from models containing Point-Curve Constraints.

Code Generation Improvements

The stand-alone SimMechanics library used for code generation is now precompiled for supported platforms using standard targets. This feature significantly speeds up compilation of generated code.

SimMechanics code generation now supports Real-Time Windows Target.

Additional Simulink Features Now Supported

SimMechanics software now supports Model Referencing and S-function target. It also now supports Simulink External mode, but without visualization. See the sections on generating code and SimMechanics limitations in the SimMechanics documentation.

SimMechanics Software Now Supported on HP-UX Platforms

SimMechanics software is now supported on the Hewlett-Packard UNIX® (HP-UX) operating system.

Demos Updated and Expanded

All SimMechanics demos have been updated with the new Machine Environment block. New demos have also been added:

Documentation Enhancements

The SimMechanics User's Guide has been enhanced.

You can find a more complex closed-loop linearization example using a Stewart platform model at

www.mathworks.com/company/newsletters/digest/sept02/stewart.html
  


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