We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dfde10 commit 9ef57a5Copy full SHA for 9ef57a5
src/mxbase.jl
@@ -5,7 +5,7 @@ function matlab_home_path()
5
matlab_home = get(ENV, "MATLAB_HOME", "")
6
if isempty(matlab_home)
7
if islinux()
8
- matlab_home = dirname(dirname(realpath(chomp(readstring(`which matlab`)))))
+ matlab_home = dirname(dirname(realpath(chomp(read(`which matlab`, String)))))
9
elseif isapple()
10
default_dir = "/Applications"
11
if isdir(default_dir)
0 commit comments