Using 'unstack' with 2019b leading to change in variable names

I am using unstack for a table in MATLAB, in the new table it converts variable names to matlab readable format i.e. replaces period( . ) wth underscore ( _ ), I tried a lot looking over for alternatives for eg use 'VariableNamingRule' as 'preserve' but that doesn't work giving me error 'VariableNamingRule is not a valid parameter for unstack', I took this from official website https://www.mathworks.com/help/matlab/ref/unstack.html but nothing seems to help.

Answers (1)

That Name-Value pair was not introduced until R2020a. You appear to be using R2019b. You can see your release-specific documentation page here:
You will need to update to at least 20a if you want to use this setting. There is no workaround for 19b.

Categories

Products

Release

R2019b

Asked:

on 9 Jan 2021

Edited:

on 9 Jan 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!