Versions Compared

Key

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

Group

Model Selection

Description

Returns

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