k = keys(d)
k = keys(d, 'cell')
| Parameter | Description |
|---|---|
| d | scalar: dictionary object. |
| Parameter | Description |
|---|---|
| k | keys. |
k = keys(d) retrieves an array containing the keys of the specified dictionary, d.
k = keys(d, 'cell') optionally returns the keys as a cell array.
names = ["Biil" "John" "Yann"];
wheels = [1 2 3];
d = dictionary(wheels, names)
k = keys(d)
k = keys(d, 'cell')
| Version | Description |
|---|---|
| 1.5.0 | initial version |