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.

Simscape Language Syntax in Simscape - By Category

Alphabetical List By Category


Custom Components

componentComponent model keywords
inputsDefine component inputs, that is, Physical Signal input ports of block
nodesDefine component nodes, that is, conserving ports of block
outputsDefine component outputs, that is, Physical Signal output ports of block
parametersSpecify component parameters
variablesDefine domain or component variables
setupPrepare component for simulation
branchesEstablish relationship between component Through variables and nodes

Component Equations

assertProgram customized run-time errors and warnings
delayReturn past value of operand
derReturn time derivative of operand
equationsDefine component equations
functionReuse expressions in component equations and in member declarations of domains and components
integPerform time integration of expression
tablelookupReturn value based on interpolating set of data points
timeAccess global simulation time
valueConvert variable or parameter to unitless value with specified unit conversion

Discrete Events and Mode Charts

eventsModel discrete events
edgeTrigger event
initialeventInitialize event variables
modechartsDeclare mode charts that include operating modes and transitions
modesDeclare operating modes in mode chart
transitionsDefine transitions between modes in mode chart
initialSpecify initial mode in mode chart

Composite Components

componentsDeclare member components included in composite component
connectConnect two or more component ports of the same type
connectionsDefine connections for member component ports in composite component
importImport model classes

Custom Domains

domainDomain model keywords
parametersSpecify component parameters
variablesDefine domain or component variables
Was this topic helpful?