Functions | |
a (:) | |
assert (size(a),[0, 0])%!test%!a = (1:3).' | |
a (1:3) | |
a (:,:) | |
a (1:3,:) | |
a (:, 1:3) | |
fail ("a(1:2,1:2) = []",".*") | |
a (1:2,:) | |
Variables | |
!test | !a = 1:3 |
b = [] | |
b | x = [] |
a = subsasgn (a, substruct ('()', {':',1:2}), []) |
a | ( | 1:2 | , | |
: | ||||
) |
a | ( | : | , | |
1:3 | ||||
) |
a | ( | 1:3 | , | |
: | ||||
) |
a | ( | : | , | |
: | ||||
) |
a | ( | 1:3 | ) |
a | ( | : | ) |
assert | ( | size(a) | ) | = (1:3).' |
fail | ( | ) |
null strings should delete [,] and [;] should delete !test !a = 1:3 |
a = subsasgn (a, substruct ('()', {':',1:2}), []) |
b = [] |
b x = [] |