Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Group

Model Configuration, System
Description

Returns the value of the calculation step specified in the current model, and the time factor to apply to obtain the effective calculation step.

Required Control

None
Usage

(calculationStep, timeFactor) = RtlabApi.GetTimeInfo()

Input

None

Output
  • calculationStep: Calculation step size as specified in the model file.
  • timeFactor: Time factor of the simulation, which is multiplied by the calculation step size to obtain the effective calculation step size.
Exception
  • EOK: Success.
  • EIO: Error sending the request or receiving the reply.
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
ExamplesNone
Related ItemsSetTimeFactor
Modulesimport RtlabApi
  • No labels