Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
benchmark-pfm
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Stéphane Adjemian
benchmark-pfm
Commits
e845ffbd
Verified
Commit
e845ffbd
authored
7 months ago
by
Stéphane Adjemian
Browse files
Options
Downloads
Patches
Plain Diff
Update doc headers.
parent
82722322
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
matlab/run_simulations.m
+5
-0
5 additions, 0 deletions
matlab/run_simulations.m
matlab/write_steady_state.m
+1
-1
1 addition, 1 deletion
matlab/write_steady_state.m
matlab/write_table_short.m
+11
-1
11 additions, 1 deletion
matlab/write_table_short.m
with
17 additions
and
2 deletions
matlab/run_simulations.m
+
5
−
0
View file @
e845ffbd
function
run_simulations
(
model
,
stack_solve_algo
,
static_solve_algo
,
niter
,
ccrit
)
function
run_simulations
(
model
,
stack_solve_algo
,
static_solve_algo
,
niter
,
ccrit
)
% Run perfect foresight model with different options and algorithms.
%
% INPUTS
% INPUTS
% - model [char] 1×n array, name of the mod file (without extension).
% - model [char] 1×n array, name of the mod file (without extension).
% - stack_solve_algo [integer] 1×p array, identifiers for the solver of the stack model.
% - stack_solve_algo [integer] 1×p array, identifiers for the solver of the stack model.
...
@@ -9,6 +11,9 @@ function run_simulations(model, stack_solve_algo, static_solve_algo, niter, ccri
...
@@ -9,6 +11,9 @@ function run_simulations(model, stack_solve_algo, static_solve_algo, niter, ccri
%
%
% OUTPUTS
% OUTPUTS
% None
% None
%
% REMARKS
% Results (timings) are stored in a .mat file named simulations-{model}.mat.
% Copyright © 2024 Dynare Team
% Copyright © 2024 Dynare Team
...
...
This diff is collapsed.
Click to expand it.
matlab/write_steady_state.m
+
1
−
1
View file @
e845ffbd
...
@@ -7,7 +7,7 @@ function write_steady_state(output, DynareModel, DynareOutput)
...
@@ -7,7 +7,7 @@ function write_steady_state(output, DynareModel, DynareOutput)
% - DynareModel [struct] aka M_
% - DynareModel [struct] aka M_
% - DynareOutput [struct] aka oo_
% - DynareOutput [struct] aka oo_
% Copyright (C) 2024
by Stéphane ADjemian
% Copyright (C) 2024
Dynare Team
fid
=
fopen
(
output
,
'w'
);
fid
=
fopen
(
output
,
'w'
);
fprintf
(
fid
,
'// File generated on %s.'
,
char
(
datetime
));
fprintf
(
fid
,
'// File generated on %s.'
,
char
(
datetime
));
...
...
This diff is collapsed.
Click to expand it.
matlab/write_table_short.m
+
11
−
1
View file @
e845ffbd
function
write_table_short
(
datafile
,
texfilename
)
function
write_table_short
(
datafile
,
texfilename
)
% Copyright (C) 2024 by Stéphane Adjemian
% Produce a table of results with LaTex compiled as a pdf file and converted to a png file.
%
% INPUTS
% - datafile [char] 1×n array, name of a .mat (without extension)
% - texfilename [char] 1×m array, name of the .{tex,png,pdf} file containing the table of results.
%
% OUTPUTS
% None
% Copyright (C) 2024 Dynare Team
stack_solve_algo
=
[
0
,
1
,
2
,
3
,
4
,
5
];
stack_solve_algo
=
[
0
,
1
,
2
,
3
,
4
,
5
];
id
=
1
:
length
(
stack_solve_algo
);
id
=
1
:
length
(
stack_solve_algo
);
...
...
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