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.

GetCurrentModel

Group

Model Selection

Description

Return the path and the filename of the current model, i.e. the model used by the current API.

Required Control

None

Usage

modelPath, modelName = RtlabApi.GetCurrentModel ()

Input

None

Output

  • modelPath: Path of the current model (where the path is as seen by the controller on host computer).

  • modelName: Name of the original model with the extension.

Exception

  • EOK: Success.

  • EINVAL: No current active model.

Examples

None

Related Items

SetCurrentModel.

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