table for string
Show older comments
Hello. I have a problem in making table for string.
There is a numerical value a. Then,i want to convert it to the string, and insert it to the table.
a = 12345; b = num2str(a);
Table(1) = b;
This code makes the Error message come up like this. 'Subscripted assignment dimension mismatch.'
What's the problem of this code?
Please help me!
Accepted Answer
More Answers (0)
Categories
Find more on Numeric Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!