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 e23fafe commit d59e41eCopy full SHA for d59e41e
src/mxbase.jl
@@ -11,7 +11,7 @@ function matlab_home_path()
11
if isdir(default_dir)
12
dirs = readdir(default_dir)
13
filter!(app -> ismatch(r"^MATLAB_R[0-9]+[ab]\.app$", app), dirs)
14
- if ~isempty(dirs)
+ if !isempty(dirs)
15
matlab_home = joinpath(default_dir, maximum(dirs))
16
end
17
@@ -20,7 +20,7 @@ function matlab_home_path()
20
21
22
filter!(dir -> ismatch(r"^R[0-9]+[ab]$", dir), dirs)
23
24
25
26
0 commit comments