Main Content

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.

See Also

| | | | |

Related Topics