I would like to know how to compare strings between 2 textboxs in Matlab. Can someone please give some examples? Thank you in advantage.
Comments on ‘’ How to do strcmp in textboxes with Matlab ‘’ ( 2 )
0
Says:
[quote=theenggprojects post_id=551 time=1489047487 user_id=2]
Here's the command to compare two strings:
[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: https://www.mathworks.com/help/matlab/ref/strcmp.html[/quote]
It's worked !
Reply
100
1
Says:
Here's the command to compare two strings:
[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: https://www.mathworks.com/help/matlab/ref/strcmp.html
Reply
[/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:[code]tf = strcmp(s1,s2)