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
d9ede95f
Commit
d9ede95f
authored
Sep 14, 2011
by
Sébastien Villemot
Browse files
Fix problem with load_mh_file option under Octave/MinGW
parent
2aa7cf37
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/metropolis_hastings_initialization.m
View file @
d9ede95f
...
...
@@ -214,7 +214,7 @@ elseif options_.load_mh_file && ~options_.mh_recover
%% Here we consider previous mh files (previous mh did not crash).
disp
(
'MH: I
''
m loading past metropolis-hastings simulations...'
)
file
=
dir
([
MhDirectoryName
'/'
ModelName
'_mh_history.mat'
]);
files
=
dir
([
MhDirectoryName
'/'
ModelName
'_mh*.mat'
]);
files
=
dir
([
MhDirectoryName
filesep
ModelName
'_mh*.mat'
]);
if
~
length
(
files
)
disp
(
'MH:: FAILURE! there is no MH file to load here!'
)
return
...
...
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