diff --git a/doc/dynare.texi b/doc/dynare.texi index 3e7f6d0b3..dbcab0aa7 100644 --- a/doc/dynare.texi +++ b/doc/dynare.texi @@ -2592,13 +2592,10 @@ variable, the file must contain a row or column vector of the same name. Their l MAT-file (extension @file{.mat}): same as for M-files. @item -Excel file (extension @file{.xls} or @file{.xlsx}): for each -endogenous and exogenous, the file must contain a column of the same -name (supported under Octave if the -@uref{http://octave.sourceforge.net/io/,io} and -@uref{http://octave.sourceforge.net/java/,java} packages from -Octave-Forge are installed, along with a -@uref{http://www.java.com/download,Java Runtime Environment}). +Excel file (extension @file{.xls} or @file{.xlsx}): for each endogenous and +exogenous, the file must contain a column of the same name. NB: Octave only +supports the @file{.xlsx} file extension and must have the +@uref{http://octave.sourceforge.net/io/,io} package installed (easily done via octave by typing `@code{pkg install -forge io}'). @end itemize @customhead{Warning} @@ -4968,13 +4965,11 @@ based on Parzen @item datafile = @var{FILENAME} @anchor{datafile} The datafile: a @file{.m} file, a @file{.mat} file, a @file{.csv} file, or a @file{.xls}/@file{.xlsx} file (under Octave, the -@uref{http://octave.sourceforge.net/io/,io} from Octave-Forge is required for -the @file{.csv}, @file{.xls} and @file{.xlsx} formats; in addition, for the -@file{.xls} and @file{.xlsx} formats, the -@uref{http://octave.sourceforge.net/java/,java} package is required, along with -a @uref{http://www.java.com/download,Java Runtime Environment}). Note that the -base name (ie without extension) of the datafile has to be different from the -base name of the model file. +@uref{http://octave.sourceforge.net/io/,io} package from Octave-Forge is +required for the @file{.csv} and @file{.xlsx} formats and the @file{.xls} file +extension is not supported). Note that the base name (@i{i.e.} without +extension) of the datafile has to be different from the base name of the model +file. @item dirname = @var{FILENAME} Directory in which to store @code{estimation} output. To pass a @@ -11485,7 +11480,7 @@ Instantiates an empty @dseries object, with, if defined, an initial date given b @deftypefn {dseries} dseries (@var{FILENAME}[, @var{INITIAL_DATE}]) -Instantiates and populates a @dseries object with a data file specified by @var{FILENAME}, a string passed as input. Valid file types are @file{.m} file, @file{.mat} file, @file{.csv} file, and @file{.xls} file. A typical @file{.m} file will have the following form: +Instantiates and populates a @dseries object with a data file specified by @var{FILENAME}, a string passed as input. Valid file types are @file{.m} file, @file{.mat} file, @file{.csv} file, and @file{.xls}/@file{.xlsx} file (Octave only supports @file{.xlsx} files and the @uref{http://octave.sourceforge.net/io/,io} package from Octave-Forge must be installed). A typical @file{.m} file will have the following form: @example INIT__ = '1994Q3'; diff --git a/tests/Makefile.am b/tests/Makefile.am index bc995992e..674904a42 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -550,7 +550,7 @@ EXTRA_DIST = \ external_function/extFunWithFirstAndSecondDerivs.m \ expectations/expectation_ss_old_steadystate.m \ steady_state/walsh1_old_ss_steadystate.m \ - data/test.xls \ + data/test.xlsx \ gsa/morris/nk_est_data.m \ analytic_derivatives/fsdat_simul.m \ fs2000/fsdat_simul.m \ diff --git a/tests/data/mod1a.mod b/tests/data/mod1a.mod index cf227651c..a2f0ff951 100644 --- a/tests/data/mod1a.mod +++ b/tests/data/mod1a.mod @@ -20,4 +20,4 @@ end; varobs dx dy; check; -estimation(datafile='test.xls',nobs=1000,mh_replic=2000,mh_jscale=1.3); \ No newline at end of file +estimation(datafile='test.xlsx',nobs=1000,mh_replic=2000,mh_jscale=1.3); diff --git a/tests/data/test.xls b/tests/data/test.xls deleted file mode 100644 index 5d7977e94..000000000 Binary files a/tests/data/test.xls and /dev/null differ diff --git a/tests/data/test.xlsx b/tests/data/test.xlsx new file mode 100644 index 000000000..f9c5533de Binary files /dev/null and b/tests/data/test.xlsx differ