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.

ResetConsole

Group

Model Interaction, Console

Description

Reset and unload the Simulink console subsystem associated with the current connected model. Before calling this function, the client must call LoadConsole.

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

Required Control

System control

Usage

RtlabApi.ResetConsole()

Input

None

Output

None

Exception

  • EOK: Success.

  • EBADF: model not specified by previous Connect or OpenProject

  • 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).

Examples

None

Related Items

LoadConsole, PauseConsole, ExecuteConsole, StopConsole

Modules

import RtlabApi

 

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323