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 preparation
Description

This function adds a file to the list of files to be transferred or retrieved during one of the
following steps:

  • transfer of files during compilation from the host to the target
  • retrieval of files during compilation from the target to the host
  • transfer of files from the host to the target before the model is loaded
  • retrieval of files from the target to the host after the model is reset
Required ControlConfiguration control. See GetSystemControl.
UsageRtlabApi.AddExtraFile (transferTime, logicalID, filePathName, fileMode)
Input
  • transferTime: See OP_EXTRA_FILE_TRANSFER_TIME
  • logicalID: See Glossary. To specify all subsystem, set the logicalId to 0
  • filePathName: Extra file path and name
  • fileMode: File transfer type (ascii or binary). See OP_FILE_TRANSFER_MODE
OutputNone
Exception
  • EOK: Success
  • EFAULT: Invalid parameter
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
  • EIO: Error sending the request or receiving the reply
  • ESRCH: Specified subsystem id not found
ExamplesSee example configuration.
Related ItemsGetExtraFiles, RemoveExtraFile, OP_EXTRA_FILE_TRANSFER_TIME, OP_FILE_TRANSFER_MODE
Modulesimport RtlabApi
  • No labels