Skip to content
Snippets Groups Projects
Verified Commit e845ffbd authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Update doc headers.

parent 82722322
No related branches found
No related tags found
No related merge requests found
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
......
...@@ -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));
......
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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment