diff --git a/matlab/utilities/tests/mtest.m b/matlab/utilities/tests/mtest.m index 3e27b4d73..0d08a2cb1 100644 --- a/matlab/utilities/tests/mtest.m +++ b/matlab/utilities/tests/mtest.m @@ -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']);