Skip to content

Commit

Permalink
fix code on mac/linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-numerical-software committed Dec 31, 2018
1 parent d16d8d6 commit d5a17cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/hdf5/functions/h5dump.nlf
Expand Up @@ -37,7 +37,11 @@ function varargout = h5dump(varargin)
cmd = [exe + " " + h5filename];
end
else
cmd = [exe + " -d " + h5path + " " + """" + h5filename + """"];
if ispc()
cmd = [exe + " -d " + h5path + " " + """" + h5filename + """"];
else
cmd = [exe + " -d " + h5path + " " + h5filename];
end
end
cmd = cmd{1};
[status, msg] = unix(cmd);
Expand Down

0 comments on commit d5a17cf

Please sign in to comment.