find a particular string from struct cell array
2 views (last 30 days)
Show older comments
I have something like this,
aircraft(1).field="B747#1CM001"
I need to isolate "B747" and "1CM001" from this string. So I need to find # sign from the string.
s1=aircraft(1).field
s2="#"
I use index=find(strcmpi(s1,s2))
This doesnt work
The code has to be compatible to Matlab Coder
0 Comments
See Also
Categories
Find more on Structures 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!