Bug fix (wrong handle).

time-shift
Stéphane Adjemian (Scylla) 2013-11-29 17:46:56 +01:00
parent 121aa5038c
commit 4f71d74512
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ for i=1:nn
fprintf(tid,'catch\n');
fprintf(tid,'exception = lasterror;\n');
if isoctave
fprintf(fid, 'LOG = ''%s'';\n','The Log output is not available with Octave!');
fprintf(tid, 'LOG = ''%s'';\n','The Log output is not available with Octave!');
%fprintf(fid,['LOG = sprintf(''LOG = Error in %%s (line %%d)\\n'', strvcat(exception.stack.name), strvcat(exception.stack.line));\n']);
else
fprintf(tid,['LOG = getReport(exception,''extended'');\n']);