Example.Matlab.PlotXY¶
This task type is an example for how MATLAB scripts can be integrated with XamFlow. This example script generates a XY scatter plot.
Compiled MATLAB script¶
Compiling the MATLAB script has some advantages:
Avoids the MATLABL command window popping up each time.
Required for XF Worker running as a Windows Service.
MATLAB only required on computer that compiles the script.
Steps:
Start MATLAB.
Open
compile_matlab_script.m
.Click “Run” to create
plot_csv_compiled.exe
.Copy
plot_csv_compiled.exe
to thecontent
folder.Set
compiled = True
inscript.py
References:
https://ch.mathworks.com/help/compiler/create-standalone-app-from-matlab-function.html
https://ch.mathworks.com/help/compiler/mcc.html