Major Bug Fixes for SimMechanics 2.1
This document describes major bug fixes for SimMechanics 2.1. Click on a problem area listed below to read how it has been fixed.
Code generation by right-click now works
Code generation error with block names fixed
Error dialog no longer triggers segmentation faults
Joint Spring & Damper block copying bug fixed
Joint Stiction Actuator lock mode bug fixed
Kinematics mode errors fixed
Periodic Point-Curve Constraint no longer causes MATLAB to hang
Code generation by right-click now works
Generating code from a SimMechanics block by right-clicking, then selecting
Build subsystem, no longer causes the model to crash.
Code generation error with block names fixed
If a SimMechanics block name started with a space or spaces, then a number
as the first nonspace character, generating code from the model produced
an error. This bug has been fixed.
Error dialog no longer triggers segmentation faults
Simulation errors in SimMechanics that open the Simulink error dialog
no longer cause SimMechanics to crash.
Joint Spring & Damper block copying bug fixed
Copying a Joint Spring & Damper block in a SimMechanics model no longer
causes an error when the model is updated or started.
Joint Stiction Actuator lock mode bug fixed
The Joint Stiction Actuator, when connected to a Joint with multiple
prismatic or revolute primitives, did not always lock and switch to static
friction properly. This bug is now fixed.
Kinematics mode errors fixed
The Kinematics motion analysis mode is designed for machines with closed
topologies only. Attempting to analyze an open-topology machine in some
cases caused SimMechanics to crash. Using Kinematics mode incorrectly now
generates an error message.
In some cases, the Kinematics mode entered an infinite loop while
reporting information on constraints. This bug is also fixed.
Periodic Point-Curve Constraint no longer causes MATLAB to hang
You can configure the Point-Curve Constraint block to take a closed curve
specified as a periodic spline. This setting no longer causes MATLAB to
hang.