end

Class: dataset

Last index in indexing expression for dataset array

The dataset data type might be removed in a future release. To work with heterogeneous data, use the MATLAB® table data type instead. See MATLAB table documentation for more information.

Syntax

end(A,k,n)

Description

end(A,k,n) is called for indexing expressions involving the dataset A when end is part of the k-th index out of n indices. For example, the expression A(end-1,:) calls A's end method with end(A,1,2).

See Also

Was this topic helpful?