removevars
Delete variables from table.
Syntax
TB = removevars(TA, varsNames)
Input argument
TA - Input table.
varsNames - Variable names in input table to remove: character vector, string array or cell array of character vectors.
Output argument
TB - Table object modified.
Description
TB = removevars(TA, varsNames) removes the variables specified by varsNames from the table TA and stores the remaining variables in T2.
You can specify the variables by name, position, or using logical indices.
You can also remove variables from a table using T(:, varsNames) = [].
Example
See also
History
Version
Description
1.9.0
initial version
Author
Allan CORNET
Last updated