rmappdata(h, name)
| Parameter | Description |
|---|---|
| h | a graphics object. |
| name | a string: the data name to remove. |
rmappdata removes the application-defined data named name from h. It is an error if the data does not exist.
f = figure();
setappdata(gca, 'state', 42);
rmappdata(gca, 'state');
isappdata(gca, 'state')
| Version | Description |
|---|---|
| 2.0.0 | Initial version. |