MATLAB: Error –> Brace indexing is not supported for variables of this type. matrixtable Hi Everyone, I have got this error ''Brace indexing is not supported for variables of this type.'' Actually, I don't know what does mean? Thanks for your help! Best Answer What the error message means is simple, you cannot use {} to index your GroupingValue_1 because for that type of variable, {} indexing has no meaning.It looks like your code is expecting GroupingVariable to be a cell array. It is not. You'll have to find earlier in your code why that is not the case. Related SolutionsMATLAB: Multiplications inside a cell array use cell brackets to access contents of the cell array.so if c is your 4x12 cell array, then c{2,1} would retun the array inside instead of the cell. MATLAB: Do I get this error? If i do it in the command window it seems to be possible Inside a for loop, you are assigningM = M{INDEX} That replaces all of M with the contents of one cell of M. Afterwards, M is unlikely to be a cell array. Related QuestionTrue or false to elements of a cell arrayJoin some matrices to one matrixSplitting a char with no delimiter
Best Answer