out = varfun (fcn, obj) ¶out = varfun (…, 'OutputFormat', outputFormat) ¶out = varfun (…, 'InputVariables', vars) ¶out = varfun (…, 'ErrorHandler', errorFcn) ¶Apply function to table variables.
Applies the given function fcn to each variable in obj, collecting the output in a table, cell array, or array of another type.