MATLAB: Filter by category for categorical array in variable editor

bycategoryfilterMATLABtable

I am using MATLAB R2020a and I am following a tutorial online for Data Analysis within MATLAB. In the tutorial, it shows how to filter the columns by category via a dropdown. However, I am not seeing the same options available to me when I open the table in the variable editor. See example code and screenshot below:
%create random table
t1 = [1,2,3,4]';
t2 = {'Foo','Bar','Foo','Bar'}';
tbl = table();
tbl.t1 = t1;
tbl.t2 = t2;
% Convert to categorical
tbl.t2 = categorical(tbl.t2)

Best Answer

As of R2020a, the filter option via the dropdown can be viewed within the Live Editor. If you run the same code in the Live Editor, you should be able to see the filters. Our development team is aware of this limitation in Variable Editor and are actively looking into this for a future release.