Commit ec9f53a2 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

bug fix: single quotes

parent cda0e037
......@@ -108,11 +108,11 @@ disp(result)
% Save preprocessor result in logfile (if `no_log' option not present)
no_log = 0;
for i=2:nargin
no_log = no_log || strcmp(varargin{i-1}, "nolog");
no_log = no_log || strcmp(varargin{i-1}, 'nolog');
end
if ~no_log
logname = [ substr(fname, 1, -4) ".log" ];
fid = fopen(logname, "w");
logname = [ substr(fname, 1, -4) '.log' ];
fid = fopen(logname, 'w');
fputs(fid, result);
fclose(fid);
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment