Main Content

Utilities

Required and commonly used blocks for setting simulation environment, interfacing with Simulink® models, and generating custom components on-the-fly

This library contains required and commonly used blocks for setting simulation environment, interfacing with Simulink models, and generating custom components on-the-fly.

The blocks in the Network Couplers library provide you with starting points for splitting your Simscape™ network into separate smaller networks interfaced to each other through Simulink connections.

Simscape Blocks

expand all

Connection LabelVirtual connection between conserving ports
Connection PortPhysical Modeling connector port for subsystem
ProbeOutput block variables as signals during simulation (Since R2020a)
PS-Simulink ConverterConvert physical signal into Simulink output signal
Simulink-PS ConverterConvert Simulink input signal into physical signal
Simscape BusBus for conserving connection lines
Simscape ComponentDeploy Simscape language component as custom block in model diagram
Solver ConfigurationPhysical network environment and solver configuration
Variant ConnectorRemove or disconnect physical components from network (Since R2020b)
Network Coupler (Compressible Link)Split network at a mechanical translational connection (Since R2022a)
Network Coupler (Flexible Shaft)Split network at a mechanical rotational connection (Since R2022a)
Network Coupler (Inductor)Split network at an electrical connection by replacing an inductor (Since R2022a)
Network Coupler (Capacitor)Split network at an electrical connection by replacing a capacitor (Since R2022a)
Network Coupler (Current-Voltage)Split network at an electrical connection (Since R2022a)
Network Coupler (Voltage-Current)Split network at an electrical connection (Since R2022a)
Network Coupler (Voltage-Voltage)Split network at an electrical connection (Since R2022a)
Network Coupler (Thermal Mass)Split network at a thermal connection (Since R2022a)
Network Coupler (Constant Volume Chamber (IL))Split network at an isothermal liquid connection (Since R2022a)
Network Coupler (Constant Volume Chamber (TL))Split network at a thermal liquid connection (Since R2022a)
Prediction (discrete->continuous)Prevent accuracy loss when connecting fixed-step network to variable-step network (Since R2022a)
Prediction (slow->fast)Prevent accuracy loss when connecting fixed-step networks with different step sizes (Since R2022a)
Smoothing (continuous->discrete)Apply output smoothing when connecting variable-step network to fixed-step network (Since R2022a)
Smoothing (fast->slow)Apply output smoothing when connecting fixed-step networks with different step sizes (Since R2022a)

Blocks

Spectrum AnalyzerDisplay frequency spectrum

Functions

expand all

sscnewCreate new Simscape model populated by required and commonly used blocks (Since R2024b)
ssc_new(To be removed) Create new Simscape model populated by required and commonly used blocks
Simulink.ConnectionBusSpecify properties of physical connection buses (Since R2021b)
Simulink.ConnectionElementSpecify properties of elements of physical connection buses (Since R2021b)
simscape.probe.VariableTableStore and manage block variable data for probing (Since R2024b)
simscape.probe.VariableConfigurationConfiguration of variable for probing (Since R2024b)
simscape.probe.defaultVariableTableConstruct default variable table for block (Since R2024b)
simscape.probe.getVariableTableView variable table attached to Probe block (Since R2024b)
simscape.probe.setVariableTableAttach existing variable table to Probe block (Since R2024b)

Topics

Basic Techniques

Connection Buses

Network Couplers

Variants

Featured Examples