Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Nested maps in MATLAB

Asked by Mehdi on 14 Nov 2013

I know it is possible to create a map within another map. For example, I can have:

   mpMainMap = containers.Map();
   mpMain('Key1') = containers.Map('Key2',2);

Is there any way to access the values of the second map directly (ie. without assigning it to a temporary variable first).

Any information is appreciate. Thanks

0 Comments

Mehdi

Products

No products are associated with this question.

0 Answers

Contact us