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

N/A.
Description

Pauses and stops execution of the Simulink console associated with of the current connected model. Before calling this function, the console must be executed.

Please note that this function is only available on Windows and Linux operating system when the model contains a Simulink console subsystem. The client machine must have Matlab install.

Required Control

None
Usage

int PauseConsole()

Input

None

Output

None

Exception
  • EBADF: model not specified by previous Connect or SetCurrentModel.
  • EINVAL: not a Simulink model.
  • EIO: error sending the request or receiving the reply.
  • ENOENT: the model path and/or name is NULL.
  • EACCES: cannot access the modelname.subsys file (this file is generated during the model’s compilation).
  • OP_API_SEPARATION: the model doesn’t contain a Simulink console subsytem or the format of the *.subsys file is incorrect (this file is generated during the model’s compilation).
ExamplesNone
Related ItemsExecuteConsole, LoadConsole, ResetConsole, StopConsole
Modulesimport RtlabApi
  • No labels