Why do I get the error 'Unable to use a value of type cell as an index.'?
8 views (last 30 days)
Steven Lord on 8 Nov 2021
Is that table.m file that you have open in the Editor the one included with MATLAB, in which case you shouldn't have modified it? Or is it one that you've created yourself, in which case I recommend renaming it so it doesn't conflict with the table class included in MATLAB?
Regardless I'm guessing the presence of that table.m is the cause of this error.