time
Access global simulation time
Parent Section: equations
Syntax
time
Description
You can access global simulation time from the
equations
section of a Simscape™ file using the time
function.
time
returns the simulation time in
seconds.
Examples
Version History
Introduced in R2008b