dict

Version 1.0.0 (3.35 KB) by Nathan
Dictionary implementation in Matlab, based around java.util.HashMap()
1 Download
Updated 14 Oct 2025

View License

A full dictionary implementation in MATLAB, for releases before R2022b, where the dictionary class was included. This implementation supports arbitrary input types. It also does not lock the input/output types, offering some advantages over 'dictionary'. The keys and values are NOT stored in the original order that they were entered, but they are displayed in consistent orders between the keys/values. The indexing operations on this object are overloaded, and do not allow for arrays of dict objects. Not recommended for large dictionaries of objects.

Cite As

Nathan (2025). dict (https://se.mathworks.com/matlabcentral/fileexchange/182310-dict), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with R2019b to R2025b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0