So, I've been reading through documentation for about an hour now, and I can't seem to figure this out.
I've created a UItable that needs to be filled. I've also created a table of data that I've imported from an excel file as a cell.
When I try to fill in the UItable with the data however, it gives me the error:
While setting the 'Data' property of 'Table':
Values within a cell array must be numeric, logical, or char
I cannot, for the life of me figure this out and I've been at this all day.
Here is the only other information I can give that might be useful: assuming the cell array is named "A":
class(A) = cell
A = {24x1 cell} {24x1 cell} {24x1 cell} {24x1 cell} {24x1 cell}
I've tried to convert these to characters or other such things, but nothing is seeming to work.
Any advice would really be appreciated!
1 Comment
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/322106-trying-to-input-data-into-uitable-but-getting-error-data-must-be-a-numeric-logical-or-cell-arra#comment_676852
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/322106-trying-to-input-data-into-uitable-but-getting-error-data-must-be-a-numeric-logical-or-cell-arra#comment_676852
Sign in to comment.