diff options
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index ec651ef6f1e..21f86b5beff 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -3511,7 +3511,7 @@ except: # Check if Matlab is installed and eventually add the Matlab mapping # try: - run("matlab -help") + run("where matlab" if isinstance(platform, Windows) else "which matlab") Mapping.add("matlab", MatlabMapping()) except: pass |