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 828da9b commit 21184b5Copy full SHA for 21184b5
src/mxbase.jl
@@ -10,7 +10,7 @@ function matlab_home_path()
10
default_dir = "/Applications"
11
if isdir(default_dir)
12
dirs = readdir(default_dir)
13
- filter!(app -> ismatch(r"^MATLAB_R[0-9]+[ab]\.app$", dirs), dirs)
+ filter!(app -> ismatch(r"^MATLAB_R[0-9]+[ab]\.app$", app), dirs)
14
if ~isempty(dirs)
15
matlab_home = joinpath(default_dir, maximum(dirs))
16
end
0 commit comments