capitalize MATLAB

parent f4bad5a6
> Copyright (C) 2014-2018 Dynare Team > Copyright (C) 2014-2018 Dynare Team
> >
> The dseries and dates Matlab/Octave classes are licensed under GNU GPL as published by > The dseries and dates MATLAB/Octave classes are licensed under GNU GPL as published by
> the Free Software Foundation, either version 3 of the License, or (at > the Free Software Foundation, either version 3 of the License, or (at
> your option) any later version. > your option) any later version.
> >
......
[![pipeline status](https://git.dynare.org/Dynare/dseries/badges/master/pipeline.svg)](https://git.dynare.org/Dynare/dseries/commits/master) [![pipeline status](https://git.dynare.org/Dynare/dseries/badges/master/pipeline.svg)](https://git.dynare.org/Dynare/dseries/commits/master)
This Matlab/Octave toolbox comes with two classes: This MATLAB/Octave toolbox comes with two classes:
- `@dates` which is used to handle dates. - `@dates` which is used to handle dates.
- `@dseries` which is used to handle time series data. - `@dseries` which is used to handle time series data.
...@@ -8,7 +8,7 @@ This Matlab/Octave toolbox comes with two classes: ...@@ -8,7 +8,7 @@ This Matlab/Octave toolbox comes with two classes:
The package is a dependence of The package is a dependence of
[Dynare](https=//git.dynare.org/Dynare/dynare), but can also be used [Dynare](https=//git.dynare.org/Dynare/dynare), but can also be used
as a standalone package without Dynare. The package is as a standalone package without Dynare. The package is
compatible with Matlab 2008a and following versions, and (almost compatible with MATLAB 2008a and following versions, and (almost
compatible with) the latest Octave version. compatible with) the latest Octave version.
## Installation ## Installation
...@@ -25,17 +25,17 @@ or downloading a zip archive: ...@@ -25,17 +25,17 @@ or downloading a zip archive:
## Usage ## Usage
Add the `dseries/src` folder to the Matlab/Octave path, and run the following command (on Matlab/Octave) prompt: Add the `dseries/src` folder to the MATLAB/Octave path, and run the following command (on MATLAB/Octave) prompt:
>> dseries().initialize() >> dseries().initialize()
which, depending on your system, will add the necessary subfolders to which, depending on your system, will add the necessary subfolders to
the Matlab/Octave path. Also, if the MATLAB/Octave path. Also, if
[X13-ARIMA-SEATS](https://www.census.gov/srd/www/x13as/) is not [X13-ARIMA-SEATS](https://www.census.gov/srd/www/x13as/) is not
installed in your system (on debian it is possible to install it with installed in your system (on debian it is possible to install it with
the `apt-get`) you will need (only the first time) to install the the `apt-get`) you will need (only the first time) to install the
binary. Scripts are available to install (or update) this binary. Scripts are available to install (or update) this
dependency. From the Matlab/Octave prompt: dependency. From the MATLAB/Octave prompt:
>> cd dseries/externals/x13 >> cd dseries/externals/x13
>> installx13() >> installx13()
......
...@@ -64,7 +64,7 @@ for i=1:nargin-1 ...@@ -64,7 +64,7 @@ for i=1:nargin-1
end end
% Check that square brackets in regular expressions % Check that square brackets in regular expressions
if useregularexpression && ~usewildcardparameter && ~isequal(length(idBracket.open),length(idBracket.open)) if useregularexpression && ~usewildcardparameter && ~isequal(length(idBracket.open),length(idBracket.open))
error('dseries::extract: (Matlab/Octave''s regular expressions) Check opening and closing square brackets!') error('dseries::extract: (MATLAB/Octave''s regular expressions) Check opening and closing square brackets!')
end end
% Loops and regular expressions are not compatible % Loops and regular expressions are not compatible
if useregularexpression && useimplicitloops if useregularexpression && useimplicitloops
......
...@@ -45,7 +45,7 @@ switch length(S) ...@@ -45,7 +45,7 @@ switch length(S)
idBracket.open = strfind(element, '['); idBracket.open = strfind(element, '[');
idBracket.close = strfind(element, ']'); idBracket.close = strfind(element, ']');
if ~isequal(length(idBracket.open),length(idBracket.open)) if ~isequal(length(idBracket.open),length(idBracket.open))
error('dseries::subsasgn: (Matlab/Octave''s regular expressions) Check opening and closing square brackets!') error('dseries::subsasgn: (MATLAB/Octave''s regular expressions) Check opening and closing square brackets!')
end end
% Loops and regular expressions are not compatible % Loops and regular expressions are not compatible
if length(idArobase) && length(idBracket.open) if length(idArobase) && length(idBracket.open)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment