How to check if a string is an element of a string set?
20 views (last 30 days)
Show older comments
For example the set is {"aaa" "bbb" "ccc"} and I want to check if mystring == "aaa" mystring == "bbb" mystring == "ccc" But in general, I would like to collect and represent the set in a data structure, and make the check as simple as possible.
0 Comments
Answers (1)
See Also
Categories
Find more on Variables 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!