This function runs a matlab script, and returns exit statuses
run_matlab_script(fname, verbose = TRUE, desktop = FALSE,
splash = FALSE, display = FALSE, wait = TRUE,
single_thread = FALSE, ...)
Filename of matlab script (.m file)
print diagnostic messages
Should desktop be active for MATLAB?
Should splash be active for MATLAB?
Should display be active for MATLAB?
Should R wait for the command to finish. Both
passed to system
and adds the -wait
flag.
Should the flag -singleCompThread
be executed to limit MATLAB to a single computational thread?
Options passed to system
Exit status of matlab code