MATLAB Answers

Is it possible to create a hashtable with a builtin MATLAB 7.8 (R2009a) function?

1 view (last 30 days)
I want to store data in a hashtable. I am not familiar with hashtables enough to write my own implementation and want an out-of-the-box implementation in MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Feb 2020
Edited: MathWorks Support Team on 27 Feb 2020
MATLAB implements a hastable using a MATLAB class called containers.Map.
For more information about this MATLAB class, please see MATLAB documentation at:
You may access the same page locally by typing the following at the MATLAB prompt:
web([docroot '/techdoc/matlab_prog/brqqo5e-1.html'])

More Answers (0)





Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!