Commit Graph

32 Commits (master)

Author SHA1 Message Date
Stéphane Adjemian (Ryûk) 735bd66d4d
Remove unused output arguments. 2023-12-18 07:48:27 +01:00
Stéphane Adjemian (Guts) 23af7f64b6
Avoid using disp(sprintf()) constructs. 2023-12-15 18:56:08 +01:00
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 8e73289fe5 read_variables.m: consistently account for variables being stored as cell array 2018-01-26 12:29:03 +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 (Scylla) 66d08ac3bf Merge branch 'master' into use-dynSeries
Conflicts:
	matlab/dynare_estimation_init.m
	matlab/global_initialization.m
	matlab/prior_posterior_statistics.m
	matlab/read_variables.m
	matlab/set_prior.m
	matlab/utilities/dataset/initialize_dataset.m
	preprocessor/ComputingTasks.cc
2014-04-30 10:10:30 +02:00
Sébastien Villemot 7da5065db4 Don't skip first observation when loading XLS(X) or CSV files. 2014-04-01 12:14:49 +02:00
Sébastien Villemot 4e4fc2ffdb Use load_xls_file_data in read_variables (for consistency with CSV) 2013-11-26 18:19:48 +01:00
Stéphane Adjemian (Charybdis) 907e087ea9 Consider options_.varobs as a cell of strings. 2013-09-07 16:39:04 +02:00
Ferhat Mihoubi 9387b4a28d Consider the case of non available variable in the csv file 2013-04-19 18:26:20 +02:00
Sébastien Villemot f92965b28c CSV datafiles: document it, autodetect extension 2013-03-28 12:50:04 +01:00
Ferhat Mihoubi 7a8b407380 Adds csv files in the file formats supported by datafile 2013-03-22 15:30:20 +01:00
Michel Juillard 4c18bfea47 allow for missing column headings in XLS(X) data file. Such a column
can't be used for data, but it happens that dates for example don't
have a column headings
2012-10-14 22:50:50 +02:00
Sébastien Villemot 2f9e34c5e5 Various fixes related to data-loading
- fix support for filenames with extension (.m, .mat, .xls), since the manual
  and the bison grammar both support it
- fix support for XLS files under Octave
- add support for XLSX files
- run test for loading XLS files
2012-10-08 13:00:55 +02:00
Michel Juillard d6cff06535 improving data reading function to avoid name conflicts 2011-11-03 10:18:39 +01:00
Houtan Bastani 43479f6ef3 use short-circuit ops (|| and &&) as opposed to (| and &) to avoid warnings in Octave (and save time) 2011-02-10 15:54:23 +01:00
sebastien 502e3e1df8 Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
michel 202be85f5f 4.1: added missing semi-colon
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3011 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 11:41:23 +00:00
sebastien e9f59ebd51 trunk read_variables.m: fixed Octave compatibility problem
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2651 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 13:22:06 +00:00
michel 25011b78f1 adjusting header and re-indenting file
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2390 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-03 09:21:45 +00:00
michel 8ff680b03a made it possible for data file name to contain a pathname
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2389 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-03 09:20:57 +00:00
sebastien 9f5beff89e v4 matlab: fixed remaining copyright headers (those files which are in the CR+LF endline convention)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1975 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 13:08:13 +00:00
sebastien 4993de5e95 v4 read_variables.m: more explicit error message if datafile does not exist
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1931 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 13:27:21 +00:00
assia 6794bc9245 header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1650 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-28 14:32:26 +00:00
assia 9692abe948 header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1589 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-15 10:48:00 +00:00
sebastien 4074588719 v4 read_variables.m: added missing semicolon
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1329 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-25 10:04:23 +00:00
michel 2d5fad9c75 v4 read_variables.m: added a missing deblank() [Marco]
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@674 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-03-13 09:33:35 +00:00
michel 0d6ed7782f v4 read_variables.m: added messages about how many observations where red from which file
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@629 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-02-14 14:07:49 +00:00
michel 158b4b13d2 v4: modifying data handling
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@626 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-02-14 10:35:34 +00:00