Cameo Simulation Toolkit 2021x Documentation

Simulation time is a timestamp that is retrieved from a simulation clock. You can use ALH API to get the simulation time of execution.

double getCurrentTime()
double getCurrentTime(String timeUnit)


The following code fragment shows how to get the simulation time of execution through ALH API.

ALH.getCurrentTime();
ALH.getCurrentTime("ms");
  • No labels