Dictionary data structure

This class provides a simple key/value datastructure for char keys and arbitrary values

You are now following this Submission

@@ ATTENTION @@
I've merged my separate submissions into KerMor/matlabtools (http://de.mathworks.com/matlabcentral/fileexchange/52299-kermor-matlabtools), which contains this submission. Please refer to that package to retrieve the current status.
@@@@
This class provides a simple key/value data structure for character keys and values of any MatLab data type.

Supports direct referencing like d('mykey') = 'myvalue'.

Also check out the dict class at #19647.
(Unfortunately i didnt check the file exchange before writing my own, but by now i've included it at many places and also need this class as prerequisite for other FileExchange downloads)

Cite As

Daniel Wirtz (2026). Dictionary data structure (https://ch.mathworks.com/matlabcentral/fileexchange/33901-dictionary-data-structure), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: dict

Inspired: KerMor/matlabtools

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

I've merged my separate submissions into KerMor/matlabtools (http://de.mathworks.com/matlabcentral/fileexchange/52299-kermor-matlabtools), which contains this submission. Please refer to that package to retrieve the current status.
- The clear method now also takes an optional single key whose associated value should be cleared
- More property descriptions (for mtoc++, see FEX #33826)

1.0.0.0