Gets the time in the simulation.

Share:

Description

The simulation time is initialized by the reset.model command, and incremented by the execute.model command. After execute.model it may not be the expected end time because the model may stop executing before that point for various reasons.

Usage

1
get.model.time(instance.handle)

Arguments

instance.handle

The handle returned by create.model(), identifying an executable model instance.

Value

The current model time

Author(s)

Jasper Taylor

Examples

1
get.model.time("dummy_ih")