MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
Count: 13
KeyType: char
ValueType: double

The Count property is now set to the number of key/value pairs in the Map, 13 , the
KeyType is char, and the ValueType is double.

Combine Map Objects


You can combine Map objects vertically using concatenation. However, the result is not a
vector of Maps, but rather a single Map object containing all key/value pairs of the
contributing Maps. Horizontal vectors of Maps are not allowed. See “Build Map with
Concatenation” on page 14-13, below.

See Also
containers.Map | keys | values

Related Examples



  • “Overview of Map Data Structure” on page 14-2

  • “Description of Map Class” on page 14-4

  • “Examine Contents of Map” on page 14-9


14 Map Containers

Free download pdf