Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
4f71d745
Commit
4f71d745
authored
Nov 29, 2013
by
Stéphane Adjemian
Browse files
Bug fix (wrong handle).
parent
121aa503
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/utilities/tests/mtest.m
View file @
4f71d745
...
...
@@ -81,7 +81,7 @@ for i=1:nn
fprintf
(
tid
,
'catch\n'
);
fprintf
(
tid
,
'exception = lasterror;\n'
);
if
isoctave
fprintf
(
f
id
,
'LOG =
''
%s
''
;\n'
,
'The Log output is not available with Octave!'
);
fprintf
(
t
id
,
'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'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment