values
Values of dictionary.
📝Syntax
v = values(d)
v = values(d, 'cell')
📥Input Arguments
Parameter Description
d scalar: dictionary object.
📤Output Arguments
Parameter Description
v values.
📄Description

v = values(d) retrieves an array containing the values of the specified dictionary, d.

v = values(d, 'cell') optionally returns the values as a cell array.

💡Examples
names = ["Biil" "John" "Yann"];
wheels = [1 2 3];
d = dictionary(wheels, names)
v = values(d)
v = values(d, 'cell')
🔗See Also
dictionarykeys
🕔Version History
Version Description
1.5.0 initial version
Edit this page on GitHub