MATLAB: Converting arrays in a cell to tables

cell arraysMATLABtable

Hey all, I want to know how I can convert all cell arrays in mycell.mat to table?so at the end I would have a cell that have tables as arrays.
newcell = cellfun(@array2table,mycell); % not working
Thank you

Best Answer

Are you looking for something like this?
newcell = cellfun(@array2table,mycell, 'UniformOutput', 0);