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

4 views (last 30 days)
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)

Cris LaPierre
Cris LaPierre on 9 Jan 2021
Edited: Cris LaPierre on 9 Jan 2021
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.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!