combine two cell in one string and compare it with pattern
Show older comments

For exaple If I want to combine two cell in one character or string and seperate between them by a space this should be as ' 20Ah CATL'
then I have a file name I want to compere it with to check does the file name contains one of them or not. to be more clear example:
finle name : ''Hallo_CATL'' and my string is ' 20Ah CATL' does the file name contain CATL or 20Ah.
Thanks in advance
Accepted Answer
More Answers (1)
KSSV
on 27 Jul 2019
0 votes
Read about strcat, strjoin
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!