FUNCTION REFERENCE

movevars

Move table variables.

Move table variables.

Syntax

T2 = movevars(T, vars)

Syntax

T2 = movevars(T, vars, 'Before', loc)   or   'After', loc

Without a location the variables move to the end.

Example

T = movevars(table(1, 2, 3), 'Var3', 'Before', 1)   % Var3 Var1 Var2

Differences from MATLAB: None known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.