行動版 - keySet = keys(mapObj) returns cell array keySet, which contains all of the keys in mapObj.
www.mathworks.com