Workspace 6.21.5
RunMatLabScript

Runs a user-defined MatLab Script.

  • Default label: "Run MatLab Script"
  • Member of plug-in: Data analysis
  • Catalogue path: Scripting
  • Polymorphic: RunMatLabScript is a Polymorphic Operation. One or more of its inputs and outputs are not listed below because they are created dynamically whenever the operation changes its data type, and when it is first created.
Inputs:
MatLab runtimeQStringSet to the location of the user-installed MatLab runtime.
MatLab script fileQStringSet to the location of a user-defined MatLab script in a file.
MatLab scriptQStringEnter user-defined MatLab script directly as an input.
Output fileQStringIf supplied, this value is passed to the runtime as an environment variable "SCRIPT_OUTPUT_FILENAME".The script itself must read this value and output data to this file.
Log fileQStringIf supplied, this value is passed to the runtime to be used as the log file.
Working directoryQStringIf supplied, this directory will be used as the working directory during execution.
Environment variablesArrayQStringThese environment variables will be set before the runtime executes the script.
ArgumentsArrayQString

OptionsArrayQString

Wait for completionbool

Capture outputbool

Log outputbool

Outputs:
Command outputQStringOutput written to the command shell may be captured and returned to the workflow via this output.
Script log fileQString

Script output fileQStringif a value was entered for the "Output file" input then his will be the same value.
Script outputQString

If an output filename and a type are supplied, then the output filename will be read as the specified type and made available to the workflow.