Main Content

Dictionaries

Code generation for dictionaries
Since R2024b

MATLAB® Coder™ supports code generation for dictionaries. A dictionary is a data structure containing keys and values, in which each unique key is associated with a corresponding value. Because dictionary keys do not have to be integers, dictionaries provide more flexibility for data access than array indices. Using dictionaries can also improve performance.

Topics

Go to top of page