Fix Erorr using cellstr.
Show older comments
Hi z='20' {1×2 cell} :eror : input must be a string . How do I fix this error?
7 Comments
chicken vector
on 20 Apr 2023
Dyuman Joshi
on 20 Apr 2023
As the error clearly states, the input to cellstr() must be a string, which it is not.
What is the content of Y? Please attach the data corresponding to Y.
Ali Nik
on 20 Apr 2023
Dyuman Joshi
on 20 Apr 2023
I assume you want to convert each cell into cell string (except the elements which are already a cell string)?
Ali Nik
on 20 Apr 2023
Ali Nik
on 20 Apr 2023
Answers (0)
Categories
Find more on Characters and Strings 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!