From ec9f53a23bcb3ae83b576cecd05c8e38ec675e22 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Mon, 18 Mar 2013 16:17:29 +0100 Subject: [PATCH] bug fix: single quotes --- matlab/dynare.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/dynare.m b/matlab/dynare.m index 0ba128ad5..b3a09e10c 100644 --- a/matlab/dynare.m +++ b/matlab/dynare.m @@ -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