FUNCTION REFERENCE
remove
Delete keys from a containers.Map.
Delete keys from a containers.Map.
Syntax
m = remove(m, key)Syntax
m = remove(m, keySet)The map changes in place (it is a handle) and is also returned. A missing key gives a warning.
Example
m = containers.Map({'a','b'}, {1, 2}); remove(m, 'a'); m.Count % 1Differences from MATLAB: none known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.