dict

Version 1.0.1 (3,34 KB) von Nathan
Dictionary implementation in Matlab, based around java.util.HashMap()
2 Downloads
Aktualisiert 19. Nov 2025

Lizenz anzeigen

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.

Zitieren als

Nathan (2026). dict (https://de.mathworks.com/matlabcentral/fileexchange/182310-dict), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2024b
Kompatibel mit R2019b bis R2025b
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.1

1. overwriting keys by assignment is now supported.
2. serialization casts to char instead of typecasts to char, which wasn't supported before R2024

1.0.0