run_matlab_script: Run matlab script

Description Usage Arguments Value

View source: R/matlab_script.R

Description

This function runs a matlab script, and returns exit statuses

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
run_matlab_script(
  fname,
  verbose = TRUE,
  desktop = FALSE,
  splash = FALSE,
  display = FALSE,
  jvm = TRUE,
  figure_windows = TRUE,
  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?

jvm

should JVM be be loaded? If FALSE, then -nojvm

figure_windows

should figure windows be enabled. If not, -noFigureWindows will be called

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


muschellij2/matlabr documentation built on July 4, 2020, 12:59 p.m.