#### 8.2.55.35 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 did not originally work, possibly due to an Octave bug, or more likely due to a bug in Tablicious prior to the early 0.4.x versions. That was fixed around 0.4.4. This method may be deprecated and removed at some point, since it is not part of the standard Matlab table interface, and is now redundant with the `obj.Properties.DimensionNames = …` assignment form.