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

Utilities
Description

Sends a command to Matlab and returns Matlab's messages. If Matlab has not been started yet, the function starts Matlab before sending the command.

Required Control

None
Usage

result = RtlabApi.ExecuteMatlabCmd (cmd)

Input
  • cmd: Matlab command to be executed.
Output
  • result: result Messages returned by Matlab.
Exception
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
  • EINVAL: Model is of a type for which this operation is not supported.
  • EFAULT: Invalid parameter.
ExamplesSee example matlab_analysis.
Related ItemsNone
Modulesimport RtlabApi
  • No labels