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
4b579aa1
Verified
Commit
4b579aa1
authored
5 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
simplify code
parent
c67d05e7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/gui_load_mod_file.m
+3
-5
3 additions, 5 deletions
src/gui_load_mod_file.m
with
3 additions
and
5 deletions
src/gui_load_mod_file.m
+
3
−
5
View file @
4b579aa1
...
@@ -11,7 +11,7 @@ function gui_load_mod_file(hObject)
...
@@ -11,7 +11,7 @@ function gui_load_mod_file(hObject)
% SPECIAL REQUIREMENTS
% SPECIAL REQUIREMENTS
% none
% none
% Copyright (C) 2003-20
19
Dynare Team
% Copyright (C) 2003-20
20
Dynare Team
%
%
% This file is part of Dynare.
% This file is part of Dynare.
%
%
...
@@ -166,9 +166,7 @@ end
...
@@ -166,9 +166,7 @@ end
if
strcmp
(
answer
,
'No'
)
if
strcmp
(
answer
,
'No'
)
return
return
end
end
M_
=
[];
clear
oo_
M_
options_
estim_params_
bayestopt_
estimation_info
ex0_
ys0_
dataset_
dataset_info
oo_
=
[];
options_
=
[];
end
end
%save globals
%save globals
...
@@ -190,7 +188,7 @@ end
...
@@ -190,7 +188,7 @@ end
jObj
.
stop
;
jObj
.
stop
;
jObj
.
setBusyText
(
'Done'
);
jObj
.
setBusyText
(
'Done'
);
%restore globals
%restore
GUI
globals
evalin
(
'base'
,
'global dynare_gui_ project_info model_settings'
);
evalin
(
'base'
,
'global dynare_gui_ project_info model_settings'
);
dynare_gui_
=
glob_dynare_gui_
;
dynare_gui_
=
glob_dynare_gui_
;
project_info
=
glob_project_info
;
project_info
=
glob_project_info
;
...
...
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