Here are two files cstrcmp.m and cstrcmpi.m which gives the result same as of those in C-style string comparisons instead of the boolean values returned by matlab string compare functions.
Rahul Prem Nazeer (2021). C-Style String Comparisons (https://www.mathworks.com/matlabcentral/fileexchange/18347-c-style-string-comparisons), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: String comparison
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!