Products & Services Solutions Academia Support User Community Company

Examples


Use this list to find examples in the documentation.

Getting Started

Running a Demo Model
Creating a Simple Mechanical Model
Visualizing a Simple Mechanical Model
Creating a Closed-Loop Mechanical Model
Orienting a Body and Its Coordinate Systems

Mechanical Drawings

Viewing a Mechanical Drawing of the Conveyor
Viewing a Mechanical Drawing of the Four Bar Mechanism
Viewing Mechanical Drawings of the Stewart Platform

Prerecorded Animations

Viewing a Conveyor Animation
Viewing a Simple Pendulum Animation
Viewing a Four Bar Mechanism Animation
Viewing a Stewart Platform Animation

Modeling Machine Components

Massless Connector Example: Triple Pendulum
Massless Connector Example: Four Bar Mechanism
Disassembled Joint Example: Four Bar Mechanism
Constraint Example: Gear Constraint
Driver Example: Angle Driver

Mechanical Applications

Body Actuator Example: Pure Kinetic Friction
Joint Actuator Example: Body Driver
Joint Stiction Actuator Example: Mixed Static and Kinetic Friction
JICA Example: A Simple Pendulum
Inserting a Linear Force Between Bodies
Inserting a Linear Force or Torque Through a Joint
Customizing Force Elements with Sensor-Actuator Feedback
DoF Example: Double Pendulum
DoF Example: Four Bar Mechanism

Interfacing to Simscape

Rotational Spring-Damper with Hard Stop

Generating Code

Using Run-Time Parameters in Generated Code
Generating and Simulating with Code
Simulating with Hardware in the Loop

Motion Analysis

Inverse Dynamics Mode with a Double Pendulum
Kinematics Mode with a Four Bar Machine
Unconstrained Trimming of a Spring-Loaded Double Pendulum
Constrained Trimming of a Four Bar Machine
Open-Topology Linearization: Double Pendulum
Closed-Loop Linearization: Four Bar Machine
Counting Degrees of Freedom in the Stewart Platform
Identifying the Simulink and Mechanical States of the Stewart Platform
Linearizing the Stewart Platform at an Operating Point

Working with Mechanical State Vectors

Identifying the Simulink and Mechanical States of the Stewart Platform
Assigning a Final Model State
Returning the Mechanical State Vector Manager Alone
Displaying Mechanical State Values During Simulation
Setting Mechanical State Values
Mechanical State Vector with One Primitive
Mechanical State Vector with Multiple Primitives
Copying Mechanical States
Using transferstruct Fields as Mechanical State Vector Manager Indices

Motion and Control

Trimming and Linearizing Through Inverse Dynamics
Analyzing Controllers
Designing and Improving Controllers

Importing Physical Modeling XML

Generating a New Model from a Physical Modeling XML File
Importing a New Model
Importing a New Model with a Nondefault Name

Update-Importing Physical Modeling XML

Associativity in an Updating Sequence Example
Updating an Existing Model with Several Options

Translating Simple CAD Assemblies

Translating a CAD Part into a Body
Translating CAD Constraints into Joints

Translating Updated CAD Assemblies

Updating and Retranslating a CAD Pendulum

Translating Complex CAD Assemblies

Translating a CAD Robot Arm
Translating a CAD Stewart Platform

Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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