Simscape
Description
- Introduction and Key Features
- Physical System Modeling
- Component Libraries
- Simscape Language
- Model Sharing Using Simscape Editing Modes
- Converting Simscape Models to C Code
- MATLAB and Simulink Integration
Introduction
Simscape™ extends Simulink® with tools for modeling systems spanning mechanical, electrical, hydraulic, and other physical domains as physical networks. It provides fundamental building blocks from these domains to let you create models of custom components. The MATLAB® based Simscape language enables text-based authoring of physical modeling components, domains, and libraries.
Simscape models can be converted to C code (with Simulink Coder™). The C code can be used as a standalone executable, incorporated into other simulation environments, and executed in real time on hardware-in-the-loop (HIL) systems.
Simscape can be used to model custom electrohydraulic valves, electromechanical actuators, inverting op-amps, heat transfer in a DC motor, and a variety of other systems. You can combine Simscape with other MathWorks physical modeling products to model complex interactions in multidomain physical systems.
Key Features
- Single modeling environment for modeling and simulating physical systems, such as mechanical, electrical, hydraulic, and thermal systems
- Library of fundamental physical modeling building blocks and mathematical elements, for modeling custom components
- MATLAB based Simscape language, enabling text-based authoring of physical modeling components, domains, and libraries
- Ability to specify units of parameters and variables, with all unit conversions handled automatically
- Connection blocks for bridging physical domains
- Full simulation and limited editing capabilities for models built with Simscape add-on products without requiring a license for these products
- Ability to convert Simscape models to C code (with Real-Time Workshop)
Cross-section illustration of an electrohydraulic servo-valve that uses a flapper-nozzle amplifier, highlighted in yellow (right). The colored blocks in the associated Simscape model (left) correspond to the colored arrows, which represent typical hydraulic flow paths.


