Skip to content

Commit

Permalink
Do not check if Gmsh is in the PATH (avoid ugly message)
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianDepriester committed Dec 20, 2019
1 parent 04c97e6 commit 5625c89
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Gmsh.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@
%
% s=GMSH(...) saves the message a string.
%

%% Check if Gmsh can be run
if ispc
r=system('WHERE gmsh');
if r~=0
error('Install Gmsh and add it to the PATH environment variable first.')
end
end

%% Remove file extension from input file
[inputPath,inputFileName,~] = fileparts(inputFilePath);
Expand Down

0 comments on commit 5625c89

Please sign in to comment.