Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
matlab-gui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
matlab-gui
Commits
9b4ef14f
Verified
Commit
9b4ef14f
authored
5 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
plot_shock_decomposition: always display all realtime options
parent
5834f6a6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/gui_plot_shock_decomposition.m
+6
-19
6 additions, 19 deletions
src/gui_plot_shock_decomposition.m
with
6 additions
and
19 deletions
src/gui_plot_shock_decomposition.m
+
6
−
19
View file @
9b4ef14f
...
@@ -331,18 +331,11 @@ handles.pushbuttonClose = uicontrol( ...
...
@@ -331,18 +331,11 @@ handles.pushbuttonClose = uicontrol( ...
'String'
,
'realtime:'
,
...
'String'
,
'realtime:'
,
...
'HorizontalAlignment'
,
'left'
);
'HorizontalAlignment'
,
'left'
);
if
project_info
.
stochastic_simulation_run
&&
project_info
.
realtime_shock_decomposition_run
realtimestring
=
{
'standard historical shock decomposition'
,
...
realtimestring
=
{
'standard historical shock decomposition'
,
...
'realtime historical shock decomposition'
,
...
'realtime historical shock decomposition'
,
...
'conditional realtime shock decomposition'
,
...
'conditional realtime shock decomposition'
,
...
'realtime forecast shock decomposition'
};
'realtime forecast shock decomposition'
};
elseif
project_info
.
stochastic_simulation_run
realtimestring
=
{
'standard historical shock decomposition'
};
else
realtimestring
=
{
'realtime historical shock decomposition'
,
...
'conditional realtime shock decomposition'
,
...
'realtime forecast shock decomposition'
};
end
handles
.
realtime
=
uicontrol
(
...
handles
.
realtime
=
uicontrol
(
...
'Parent'
,
handles
.
uipanelResults
,
...
'Parent'
,
handles
.
uipanelResults
,
...
'Tag'
,
'realtime'
,
...
'Tag'
,
'realtime'
,
...
...
@@ -443,13 +436,7 @@ handles.pushbuttonClose = uicontrol( ...
...
@@ -443,13 +436,7 @@ handles.pushbuttonClose = uicontrol( ...
options_
.
plot_shock_decomp
.
write_xls
=
true
;
options_
.
plot_shock_decomp
.
write_xls
=
true
;
end
end
if
project_info
.
stochastic_simulation_run
&&
project_info
.
realtime_shock_decomposition_run
options_
.
plot_shock_decomp
.
realtime
=
handles
.
realtime
.
Value
-
1
;
options_
.
plot_shock_decomp
.
realtime
=
handles
.
realtime
.
Value
-
1
;
elseif
project_info
.
stochastic_simulation_run
options_
.
plot_shock_decomp
.
realtime
=
0
;
else
options_
.
plot_shock_decomp
.
realtime
=
handles
.
realtime
.
Value
;
end
gui_tools
.
project_log_entry
(
'Running plot shock decomposition'
,
'...'
);
gui_tools
.
project_log_entry
(
'Running plot shock decomposition'
,
'...'
);
[
jObj
,
guiObj
]
=
gui_tools
.
create_animated_screen
(
'Running plot shock decomposition, please wait...'
,
tabId
);
[
jObj
,
guiObj
]
=
gui_tools
.
create_animated_screen
(
'Running plot shock decomposition, please wait...'
,
tabId
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment