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

« Previous Version 2 Next »

Group

Model Interaction, Alias
Description

Save the current aliases list in the specified file.

Specifying a pattern ensures that only maching aliases are saved. Wildcard characters may by used in pattern.

Required Control

None
Usage

RtlabApi.SaveAlias(fileName, aliasNamePattern)

Input
  • fileName: Absolute or relative path of the file to save.
  • aliasNamePattern: See Glossary.

Output

None

Exception
  • EOK: Success.
  • ENOENT: Cannot open alias file.
  • ENOMEM: Memory allocation error.
  • EIO: Error sending the request or receiving the reply.
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
ExamplesNone
Related ItemsCreateAlias, LoadAlias
Modulesimport RtlabApi
  • No labels