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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Group

Model Selection
Description

Returns 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.
ExamplesNone
Related ItemsSetCurrentModel.
Modulesimport RtlabApi
  • No labels