Learn R Programming

matlabr (version 1.1.3)

get_matlab: Find matlab path

Description

This tries to find matlab's path using a system which command, and then, if not found, looks at getOption("matlab.path"). If not path is found, it fails.

Usage

get_matlab(try_defaults = TRUE)

Arguments

try_defaults

(logical) If matlab is not found from Sys.which, and matlab.path not found, then try some default PATHs for Linux and OS X.

Value

Character of command for matlab