Dataset rmset: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
(New page: ===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...)
 
imported>Scott
Line 2: Line 2:
Removes a specific set from a DSO field.
Removes a specific set from a DSO field.
===Synopsis===
===Synopsis===
:dsout = rmset(dsin,field,dim,set)
:dsout = rmset(dsin,field,dim,set);
:dsout = rmset(mydso,'axisscale',1,3);
 
===Description===
===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.
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.

Revision as of 08:28, 1 April 2013

Purpose

Removes a specific set from a DSO field.

Synopsis

dsout = rmset(dsin,field,dim,set);
dsout = rmset(mydso,'axisscale',1,3);

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

dataset_subsasgn, dataset_subsref