I would like to know how to compare strings between 2 textboxs in Matlab. Can someone please give some examples? Thank you in advantage.
Small Bio
[code]tf = strcmp(s1,s2)[/code]
where s1 and s2 are the textboxes string and tf will return whether they are same or not. You should also have a look at this link to know more about this command: It's worked ![quote=theenggprojects post_id=551 time=1489047487 user_id=2]Here's the command to compare two strings:where s1 and s2 are the textboxes string and tf will return whether they are same or not. You should also have a look at this link to know more about this command:[code]tf = strcmp(s1,s2)[/code] https://www.mathworks.com/help/matlab/ref/strcmp.html [/quote]
