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 3 Next »

Group

Model Preparation
Description

Sets the simulation mode. The specified simulation mode will be applied the next time the model is loaded. Simulation mode cannot be set when the model is already loaded.

Required Control

System Control
Usage

RtlabApi.SetSimulationMode(simulationMode)

Input
  • simulationMode: See OP_REALTIME_MODE.

Output

None

Exception
  • EPERM: System control had not been granted to this client.
  • ENOENT: Could not write the simulation mode to the configuration file.
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
ExamplesNone
Related ItemsGetModelState
Modulesimport RtlabApi
  • No labels