Versions Compared

Key

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

Group

Model Interaction, Parameters

Description

Load the parameters’ values from a file and

applies

apply them to the model.

Required Control

Parameter Control

Usage

status = RtlabApi.LoadParameters(pathName, option)

Input

  • pathName: path + name of the file to load.

  • option: see OP_LOAD_FILE_OPTION

Output

  • status: see OP_LOAD_FILE_STATUS

Exception

  • ENOENT: No such file or directory.

  • ENOMEM: Memory allocation error.

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

  • EBADF: Model not specified by previous Connect or

SetCurrentModel
  • OpenProject.

Examples

None

Related Items

SaveParameters

Modules

import RtlabApi