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.

LoadParameters

Group

Model Interaction, Parameters

Description

Load the parameters’ values from a file and 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 OpenProject.

Examples

None

Related Items

SaveParameters

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
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter