<< dictionary | Dictionaries | insert >> |
E = entries(d) |
E = entries(d, format) |
scalar: dictionary object.
format: string scalar or character vector: 'cell', 'struct', 'table' (not yet implemented) .
table, struct or cell.
E = entries(d) retrieves a table containing the key-value pairs from the given dictionary, d.
E = entries(d) currently not implemented.
E = entries(d, format) specifies the output format as either a table or a structure. For instance, entries(d, "struct") returns a structure containing the key-value pairs of d. This option is useful for data types that are not compatible with tables.
names = ["Biil" "John" "Yann"];
wheels = [1 2 3];
d = dictionary(wheels, names)
E = entries(d, 'struct')
E = entries(d, 'cell')
Version | Description |
---|---|
1.5.0 | initial version |
Allan CORNET