Versions Compared

Key

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

Group

Model Interaction, Original Model

Description

Loads

Load the original model (block diagram) of the current connected model on the client machine. Furthermore, if the model is a Simulink model, the client machine must have Matlab installed.

Required Control

None

Usage

RtlabApi.LoadOriginalModel()

Input

None

Output

None

Exception

  • EOK: Success.

  • EINVAL: not a Simulink model.

  • EIO: Error sending the request or receiving the reply.

  • EBADF: Model not specified by previous Connect or

SetCurrentModel
  • OpenProject.

  • ENOENT: the model path and/or name is NULL.

  • EDOM: model version is different from Simulink version.

  • ERANGE: model version is not compatible with MATLAB version.

Examples

None

Related Items

IsOriginalModelOpen, ResetOriginalModel

Modules

import RtlabApi