function ind = end(obj,k,n)
szd = size(obj.Data);
if k < n
ind = szd(k);
else
ind = prod(szd(k:end));
end
end
end
end
See Also
Related Examples
- “end as Object Index” on page 17-35
- “Number of Arguments for subsref and subsasgn” on page 17-6
17 Specialize Object Behavior