Main Content
keys
Return keys of Map
object
Syntax
Description
Note
dictionary
is recommended over
containers.Map
because it accepts more data types as
keys and values and provides better performance. (since R2022b)
keySet = keys(
returns a cell
array containing all the keys in the input M
)Map
object.
Examples
Input Arguments
Version History
Introduced in R2008b