Dataset rmset

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Purpose

Removes a specific set from a DSO field.

Synopsis

dsout = rmset(dsin,field,dim,set);

Description

The function will check to see the field is of type cell and that the dim/set exists then remove it. Any remaining sets will be shifted to appropriately to fill the removed cell. If there are sets in different dims that aren't empty then the set is just emptied along with corresponding dependencies and not shifted.

>> mydso = rmset(mydso,'axisscale',1,3)


See Also

copydsfields, dataset_subsasgn, dataset_subsref