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
b99db457
Commit
b99db457
authored
Nov 15, 2013
by
Stéphane Adjemian
Browse files
Fixed bug (dynare path has to be defined sooner, otherwise isoctave is unknown in warning_config).
parent
aa5efbcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare.m
View file @
b99db457
...
@@ -44,6 +44,9 @@ if strcmpi(fname,'help')
...
@@ -44,6 +44,9 @@ if strcmpi(fname,'help')
return
return
end
end
% detect if MEX files are present; if not, use alternative M-files
dynareroot
=
dynare_config
;
warning_config
()
warning_config
()
if
isoctave
if
isoctave
...
@@ -64,9 +67,6 @@ if isoctave
...
@@ -64,9 +67,6 @@ if isoctave
default_save_options
(
'-mat'
)
default_save_options
(
'-mat'
)
end
end
% detect if MEX files are present; if not, use alternative M-files
dynareroot
=
dynare_config
;
if
nargin
<
1
if
nargin
<
1
error
(
'DYNARE: you must provide the name of the MOD file in argument'
)
error
(
'DYNARE: you must provide the name of the MOD file in argument'
)
end
end
...
...
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