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
aac25a88
Commit
aac25a88
authored
Mar 18, 2013
by
Houtan Bastani
Browse files
bug fix: substr not a matlab function
parent
ec9f53a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare.m
View file @
aac25a88
...
...
@@ -111,7 +111,7 @@ for i=2:nargin
no_log
=
no_log
||
strcmp
(
varargin
{
i
-
1
},
'nolog'
);
end
if
~
no_log
logname
=
[
substr
(
fname
,
1
,
-
4
)
'.log'
];
logname
=
[
fname
(
1
:
end
-
4
)
'.log'
];
fid
=
fopen
(
logname
,
'w'
);
fputs
(
fid
,
result
);
fclose
(
fid
);
...
...
Write
Preview
Markdown
is supported
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