These tools help you build a Simscape Multibody Second Generation (2G) model that provides the same behavior as your Simscape Multibody First Generation (1G) model. MATLAB code scans your 1G model, automatically converts as many of the 1G blocks as it can, and provides diagnostics indicating which 1G conventions need to be modified in order for the model to be compatible with 2G modeling conventions. You can then assemble the automatically created 2G blocks into a model that behaves as the original 1G model.
Please read the README.txt file and the PDF file to get started. The PDF file explains the conversion process enabled by this tool, the diagnostics messages, and guides you through a tutorial exercise to help you get started converting your model. This tool works for MATLAB releases R2013a and higher.
See how to use Simscape Multibody to model a cam-follower mechanism:
Learn more about multibody simulation with Simscape Multibody by watching this webinar
Find other Simscape examples by searching posts for the keyword "physical modeling"
Learn more about MathWorks Simscape Products:
Steve Miller (2022). Simscape Multibody 1G Conversion Assistant (https://www.mathworks.com/matlabcentral/fileexchange/62763-simscape-multibody-1g-conversion-assistant), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!