Skip to content

Commit 9ef57a5

Browse files
David Bartonmusm
authored andcommitted
Update for v1.0 (readstring -> read) (#136)
1 parent 5dfde10 commit 9ef57a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mxbase.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function matlab_home_path()
55
matlab_home = get(ENV, "MATLAB_HOME", "")
66
if isempty(matlab_home)
77
if islinux()
8-
matlab_home = dirname(dirname(realpath(chomp(readstring(`which matlab`)))))
8+
matlab_home = dirname(dirname(realpath(chomp(read(`which matlab`, String)))))
99
elseif isapple()
1010
default_dir = "/Applications"
1111
if isdir(default_dir)

0 commit comments

Comments
 (0)