Learn R Programming

matlabr (version 1.5.2)

run_matlab_script: Run matlab script

Description

This function runs a matlab script, and returns exit statuses

Usage

run_matlab_script(fname, verbose = TRUE, desktop = FALSE,
  splash = FALSE, display = FALSE, wait = TRUE,
  single_thread = FALSE, ...)

Arguments

fname

Filename of matlab script (.m file)

verbose

print diagnostic messages

desktop

Should desktop be active for MATLAB?

splash

Should splash be active for MATLAB?

display

Should display be active for MATLAB?

wait

Should R wait for the command to finish. Both passed to system and adds the -wait flag.

single_thread

Should the flag -singleCompThread be executed to limit MATLAB to a single computational thread?

...

Options passed to system

Value

Exit status of matlab code