Commit Graph

121 Commits (7dd2dd5e24a343fbeaf3522ea5e535c27d8b9f95)

Author SHA1 Message Date
Sébastien Villemot 10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).

The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).

The particles submodule is not updated at this point, because it is in an
inconsistent state.

[skip ci]
2022-04-13 14:54:25 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Johannes Pfeifer 3ef988dfcd msbvar: provide error is chain is not specified
See https://forum.dynare.org/t/cannot-have-number-of-chains-for-variance-or-coefficient-bigger-than-1/16650
2021-01-01 11:31:33 +01:00
Sébastien Villemot 7e770f69e7
Remove workaround for errors in MEX files
Because at some point throwing exceptions from MEX files (with mexErrMsgTxt())
was not working under Windows 64-bit, we had designed a workaround to avoid
using exceptions.

Most MEX files were returning an error code as their first (or sometimes last)
argument, and that code would have to be checked from the MATLAB code.

Since this workaround is no longer needed, this commit removes it. As a
consequence, the interface of many MEX files is modified.

For some background, see https://www.dynare.org/pipermail/dev/2010-September/000895.html
2020-01-10 18:33:11 +01:00
Sébastien Villemot 89a3e94cbf
Use true/false instead of 1/0 for boolean options
This is more elegant, and makes it easier to distinguish them from integer
options.

Also simplify test expressions for these boolean options.
2019-03-19 15:21:16 +01:00
Stéphane Adjemian (Scylla) 7be8f10e0e Use cells of strings instead of char arrays. 2018-01-09 22:30:01 +01:00
Stéphane Adjemian (Charybdis) 1bf81c9f5a Fixed copyright notices. 2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis) 06ae919b87 Removed *.el file that should not have been commited. 2017-05-16 13:24:46 +02:00
Houtan Bastani 5f97efe15a octave: don't check with user when deleting directory 2016-10-03 14:49:21 +02:00
Houtan Bastani 2a6b3caa34 when saving, use .mat file extension because Octave doesn’t support it by default 2016-09-26 11:00:41 +02:00
Johannes Pfeifer 73afe7d02f Change fixed LaTeX figure width into \textwidth scaling
Improves readability
2016-08-23 17:22:41 +02:00
Michel Juillard c159dff19c adding hook for PATH solver 2016-05-31 12:10:12 +02:00
Michel Juillard 511801c903 finalize svar_global_identification_check 2015-08-24 14:53:27 +02:00
Michel Juillard 265970c1c9 adding global test for identification for sbvar 2015-03-07 10:59:53 +01:00
Stéphane Adjemian (Scylla) 4359eb6dad Adapted ms sbvar codes (options_.varobs is a row cell array of strings). 2014-06-26 16:07:45 +02:00
Houtan Bastani fd4c71a2a4 ms-sbvar: add missing 's' flag to rmdir 2014-03-18 15:02:31 +01:00
Houtan Bastani 7bc5d5c2ec ms-sbvar: add confirm_recursive_rmdir 2013-12-18 12:48:20 +01:00
Michel Juillard 77fdd3bfda ms-sbvar: corrected bug with final_subperiod default value and
clarified in the manual.
2013-12-13 09:56:11 +01:00
Michel Juillard 1ddd00b502 ms-sbvar: corrected bug in initialization/computation of final
subperiod
2013-12-12 10:02:31 +01:00
Michel Juillard ed15f0bcac ms-sbvar: corrected bug in initialization/computation of final subperiod 2013-12-12 09:10:09 +01:00
Houtan Bastani 22949820be bug fix: close unclosed file id, #438 2013-12-02 12:34:09 +01:00
Stéphane Adjemian (Penelope) 0c00151092 Merge branch 'master' into remove-dynDate-class
Conflicts:
	preprocessor/DynareBison.yy
2013-11-14 16:41:08 +01:00
Houtan Bastani 63eec83efe ms-sbvar: add load_flat_file.m. closes #505 2013-11-12 15:48:15 +01:00
Stéphane Adjemian (Charybdis) ddd95361ba Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION'). 2013-11-04 10:54:45 +01:00
Houtan Bastani 4da6f10233 ms-sbvar: ms_simulation: add option to save mcmc draws 2013-10-23 17:03:52 +02:00
Stéphane Adjemian (Charybdis) 4052d4ccaf Cosmetic changes. Use skipline() instead of disp(' '). 2013-07-10 17:12:34 +02:00
Sébastien Villemot 61485ab809 Fix copyright notices 2013-06-12 17:04:46 +02:00
Michel Juillard 34db22c3bc ms-sbvar: made option final_year optional is using the entire sample 2012-10-24 14:05:54 +02:00
Michel Juillard b326636d0b sbvar: replaced warning about sample size different from available
data by error if available data are shorter than declared sample
2012-10-23 14:33:02 +02:00
Michel Juillard d5f29e0b89 sbvar: made option final_year optional is using the entire sample 2012-10-23 14:33:01 +02:00
Houtan Bastani 7c6ae272f6 ms-sbvar: remove field removal for file tags 2012-09-27 15:32:33 +02:00
Houtan Bastani 12af7298ef ms-sbvar: remove unused field removal statements (and set options_.datafile='' in global_initialization) 2012-09-27 15:32:33 +02:00
Houtan Bastani 868afeb953 ms-sbvar bug fix: store no_create_init as number instead of string 2012-09-26 18:07:49 +02:00
Sébastien Villemot 1f9cea669a Update copyright notices 2012-06-08 18:22:34 +02:00
Houtan Bastani 6180bc2212 Add TZcode submodule to repository 2012-04-19 12:27:39 +02:00
Houtan Bastani 2f5d76dc8c ms-sbvar: set A0, A+, Zeta, and Q based on output_file_tag passed to estimation 2012-04-13 16:12:24 +02:00
Houtan Bastani b96c35a1a4 ms-sbvar: remove unused code 2012-04-13 15:56:25 +02:00
Houtan Bastani ad580b8cc6 MS-SBVAR: clean up plotting functions 2012-03-08 18:25:37 +01:00
Houtan Bastani d212772212 MS-SBVAR: change state to regime to coincide with name previous name change 2012-03-08 17:55:40 +01:00
Houtan Bastani 402363bab2 MS-SBVAR: rewrite ms_variance_decomposition 2012-03-08 17:54:35 +01:00
Houtan Bastani 5f60f1bd27 MS-SBVAR: rewrite ms_forecast 2012-03-08 17:54:05 +01:00
Houtan Bastani 11c63e5050 MS-SBVAR: clean up plot_ms_*.m 2012-03-08 17:54:05 +01:00
Houtan Bastani 4e41ad7285 MS-SBVAR: remove unused argument to plot_ms_irf.m 2012-03-08 17:54:05 +01:00
Houtan Bastani 864e0b7c7e MS-SBVAR: rewrite ms_irf 2012-03-08 17:53:58 +01:00
Houtan Bastani dd1a48c7c7 MS-SBVAR: support non 4 digit years (fix thanks to Margarita Zabelina) 2012-02-02 12:30:50 +01:00
Houtan Bastani 837451c724 MS-SBVAR: support annual data (fix thanks to Margarita Zabelina) 2012-02-02 12:30:50 +01:00
Houtan Bastani e4546ba32f change file format to unix 2012-02-02 12:30:49 +01:00
Houtan Bastani 3ff704d36d ms-sbvar: replace state with regime 2011-12-21 12:21:30 +01:00