Testing a cell array if it is a string
9 views (last 30 days)
Show older comments
Jeffrey Beckstead
on 19 May 2022
Commented: Jeffrey Beckstead
on 20 May 2022
I want to test a cell array to see if its contents are a string.
The function iscellstr checks to see if the contents of the cell are a character vector, not a string. Bad naming of a function in my opinion.
I am trying to test the cell array element if it is a string for error checking prior to use. This would be similar to isnumeric.
0 Comments
Accepted Answer
More Answers (0)
See Also
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!