Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dseries
Commits
29a2aa76
Verified
Commit
29a2aa76
authored
Oct 02, 2019
by
Houtan Bastani
Browse files
capitalize MATLAB
parent
f4bad5a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
LICENSE.md
View file @
29a2aa76
> Copyright (C) 2014-2018 Dynare Team
>
> The dseries and dates M
atlab
/Octave classes are licensed under GNU GPL as published by
> The dseries and dates M
ATLAB
/Octave classes are licensed under GNU GPL as published by
> the Free Software Foundation, either version 3 of the License, or (at
> your option) any later version.
>
...
...
README.md
View file @
29a2aa76
[

](https://git.dynare.org/Dynare/dseries/commits/master)
This M
atlab
/Octave toolbox comes with two classes:
This M
ATLAB
/Octave toolbox comes with two classes:
-
`@dates`
which is used to handle dates.
-
`@dseries`
which is used to handle time series data.
...
...
@@ -8,7 +8,7 @@ This Matlab/Octave toolbox comes with two classes:
The package is a dependence of
[
Dynare
](
https=//git.dynare.org/Dynare/dynare
)
, but can also be used
as a standalone package without Dynare. The package is
compatible with M
atlab
2008a and following versions, and (almost
compatible with M
ATLAB
2008a and following versions, and (almost
compatible with) the latest Octave version.
## Installation
...
...
@@ -25,17 +25,17 @@ or downloading a zip archive:
## Usage
Add the
`dseries/src`
folder to the M
atlab
/Octave path, and run the following command (on M
atlab
/Octave) prompt:
Add the
`dseries/src`
folder to the M
ATLAB
/Octave path, and run the following command (on M
ATLAB
/Octave) prompt:
>> dseries().initialize()
which, depending on your system, will add the necessary subfolders to
the M
atlab
/Octave path. Also, if
the M
ATLAB
/Octave path. Also, if
[
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
the
`apt-get`
) you will need (only the first time) to install the
binary. Scripts are available to install (or update) this
dependency. From the M
atlab
/Octave prompt:
dependency. From the M
ATLAB
/Octave prompt:
>> cd dseries/externals/x13
>> installx13()
...
...
src/@dseries/extract.m
View file @
29a2aa76
...
...
@@ -64,7 +64,7 @@ for i=1:nargin-1
end
% Check that square brackets in regular expressions
if
useregularexpression
&&
~
usewildcardparameter
&&
~
isequal
(
length
(
idBracket
.
open
),
length
(
idBracket
.
open
))
error
(
'dseries::extract: (M
atlab
/Octave
''
s regular expressions) Check opening and closing square brackets!'
)
error
(
'dseries::extract: (M
ATLAB
/Octave
''
s regular expressions) Check opening and closing square brackets!'
)
end
% Loops and regular expressions are not compatible
if
useregularexpression
&&
useimplicitloops
...
...
src/@dseries/subsasgn.m
View file @
29a2aa76
...
...
@@ -45,7 +45,7 @@ switch length(S)
idBracket
.
open
=
strfind
(
element
,
'['
);
idBracket
.
close
=
strfind
(
element
,
']'
);
if
~
isequal
(
length
(
idBracket
.
open
),
length
(
idBracket
.
open
))
error
(
'
dseries
::
subsasgn
:
(
M
atlab
/
Octave
''
s
regular
expressions
)
Check
opening
and
closing
square
brackets
!
'
)
error
(
'
dseries
::
subsasgn
:
(
M
ATLAB
/
Octave
''
s
regular
expressions
)
Check
opening
and
closing
square
brackets
!
'
)
end
%
Loops
and
regular
expressions
are
not
compatible
if
length
(
idArobase
)
&&
length
(
idBracket
.
open
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment