This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Start a Model from a Template

You can start a new Simscape™ Multibody™ model directly from the MATLAB® command prompt by entering smnew. The smnew function opens a Simscape Multibody model template with commonly used blocks and variable-step automatic solver selection for best performance. The figure shows the model template.

You can also open the Simscape Multibody block library from the MATLAB command prompt by entering sm_lib. Browse the library to select blocks for your model. Alternatively, type the block name in the Simulink® Model window and select a match from the Simulink search results.

See Model a Simple Link to model a body in the Simscape Multibody model template. See Model a Simple Pendulum to integrate the body in a multibody mechanism.