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
47787f6f
Commit
47787f6f
authored
Jun 24, 2011
by
Marco Ratto
Browse files
Fixed waitbar message from octave slave (matlab master)
parent
1b2cab9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/random_walk_metropolis_hastings_core.m
View file @
47787f6f
...
@@ -220,7 +220,7 @@ for b = fblck:nblck,
...
@@ -220,7 +220,7 @@ for b = fblck:nblck,
if
mod
(
j
,
50
)
==
0
&&
whoiam
if
mod
(
j
,
50
)
==
0
&&
whoiam
% keyboard;
% keyboard;
if
(
strcmp
([
options_
.
parallel
(
ThisMatlab
)
.
MatlabOctavePath
],
'octave'
))
if
(
strcmp
([
options_
.
parallel
(
ThisMatlab
)
.
MatlabOctavePath
],
'octave'
))
waitbarString
=
[
'('
int2str
(
b
)
'/'
int2str
(
options_
.
mh_nblck
)
'), '
sprintf
(
'accept. %3.f%%'
,
100
*
prtfrc
)];
waitbarString
=
[
'('
int2str
(
b
)
'/'
int2str
(
options_
.
mh_nblck
)
'), '
sprintf
(
'accept. %3.f%%'
,
100
*
isux
/
j
)];
fMessageStatus
(
prtfrc
,
whoiam
,
waitbarString
,
waitbarTitle
,
options_
.
parallel
(
ThisMatlab
));
fMessageStatus
(
prtfrc
,
whoiam
,
waitbarString
,
waitbarTitle
,
options_
.
parallel
(
ThisMatlab
));
else
else
waitbarString
=
[
'('
int2str
(
b
)
'/'
int2str
(
options_
.
mh_nblck
)
'), '
sprintf
(
'accept. %3.f%%'
,
100
*
isux
/
j
)];
waitbarString
=
[
'('
int2str
(
b
)
'/'
int2str
(
options_
.
mh_nblck
)
'), '
sprintf
(
'accept. %3.f%%'
,
100
*
isux
/
j
)];
...
...
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