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.

ResetOriginalModel

Group

Model Interaction, Original Model

Description

Close the original Simulink model (block diagram) of the currently connected model.

Please note that this function is only available on Windows operating system when the model is a Simulink model.

Required Control

None

Usage

RtlabApi.ResetOriginalModel()

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.

Examples

None

Related Items

LoadOriginalModel, IsOriginalModelOpen

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