Use a hash table

(Java class wrapper)

You are now following this Submission

Class Hashtable offers Matlab users access to the hash table data structure.
The class allows multiple key-value pairs specified in 'get', 'put' and 'remove' methods, using cell arrays to collect inputs and outputs, and offers vector forms of 'iskey' and 'isvalue', as well as the option to initialize a hash table with an initial key/value set.

Note that Java's involvement limits the range of types that can be stored in a Hashtable instance.

Cite As

Dimitri Shvorob (2026). Use a hash table (https://se.mathworks.com/matlabcentral/fileexchange/20876-use-a-hash-table), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Simle Hashtable

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

minor change
BSD