Next: , Previous: , Up: table   [Contents] table.setDimensionNames

Method: out = setDimensionNames (obj, names)
Method: out = setDimensionNames (obj, ix, names)

Set dimension names.

Sets the DimensionNames for this table to a new list of names.

names is a char or cellstr vector. It must have the same number of elements as the number of dimension names being assigned.

ix is an index vector indicating which dimension names to set. If omitted, it sets all two of them. Since there are always two dimension, the indexes in ix may never be higher than 2.

This method exists because the obj.Properties.DimensionNames = … assignment form does not work, possibly due to an Octave bug.