Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Group

Model Interaction, Original Model

Description

Closes

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

Info

Please note that this function is only available on Windows

and Linux

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

SetCurrentMode
  • 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