A Map is a type of fast key lookup data structure that offers a flexible means of indexing into its individual elements. The indices for a Map can be nearly any scalar numeric value or a character vector.
A Map is an object, or instance, of the
Create a Map using the
This example shows how to find all the keys and values in a Map.
This example shows how to read from a Map structure and how to add new key/value pairs.
This example shows how to remove and modify keys and values in a Map structure.
This example shows how to store structures or cell arrays in a Map structure.