Skip to content
GitLab
Menu
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
dynare
Commits
280825a3
Commit
280825a3
authored
Nov 13, 2013
by
Stéphane Adjemian
Browse files
Access the @dseries/insert method with dot notation.
parent
6d4b6f6e
Changes
1
Show whitespace changes
Inline
Side-by-side
matlab/@dseries/subsref.m
View file @
280825a3
...
@@ -90,7 +90,7 @@ switch S(1).type
...
@@ -90,7 +90,7 @@ switch S(1).type
else
else
B
=
feval
(
S
(
1
).
subs
,
A
);
B
=
feval
(
S
(
1
).
subs
,
A
);
end
end
case
{'
cumsum
'}
%
Methods
with
less
than
three
argument
.
case
{'
cumsum
'
,'
insert
'
}
%
Methods
with
less
than
three
argument
.
if
length
(
S
)
>
1
&&
isequal
(
S
(
2
).
type
,
'
()
'
)
if
length
(
S
)
>
1
&&
isequal
(
S
(
2
).
type
,
'
()
'
)
if
isempty
(
S
(
2
).
subs
)
if
isempty
(
S
(
2
).
subs
)
B
=
feval
(
S
(
1
).
subs
,
A
);
B
=
feval
(
S
(
1
).
subs
,
A
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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