Fix Table Variable Names After Applying Function

When you apply a function to table variables, Matlab creates a new table with variable names "function_original name". This code fixes that.

You are now following this Submission

When you apply a function to table variables, Matlab creates a new table with variable names "function_original name". This code fixes that. You have to supply the new table the function creates, the original table that contains the variable names, and the name of the function applied as a string. Helps with functions such as groupsummary, varfun etc.

Cite As

Cem Tutuncu (2026). Fix Table Variable Names After Applying Function (https://www.mathworks.com/matlabcentral/fileexchange/125440-fix-table-variable-names-after-applying-function), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0