Commit 4f71d745 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Bug fix (wrong handle).

parent 121aa503
......@@ -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']);
......
Supports Markdown
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