Versions Compared

Key

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

Group

Utilities

Description

Sends

Send a command to Matlab and

returns

return 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
  • OpenProject.

  • 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.

Examples

See example matlab_analysis.

Related Items

None

Modules

import RtlabApi