32
of 76
TEP , The Engineering Projects , Image

syedzainnasir

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon
How to do strcmp in textboxes with Matlab
TEP , The Engineering Projects , Calender Question: 06-Mar-2017
TEP , The Engineering Projects , Category In: MATLAB Projects
I would like to know how to compare strings between 2 textboxs in Matlab. Can someone please give some examples? Thank you in advantage.
TEP , The Engineering Projects , Icon Answer: 2 TEP , The Engineering Projects , Icon Views: 150 TEP , The Engineering Projects , Icon Followers: 85
Small Bio
TEP , The Engineering Projects , Image

adiono

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon

RE:

How to do strcmp in textboxes with Matlab
TEP , The Engineering Projects , Calender Comment: 09-Mar-2017
TEP , The Engineering Projects , Category In: MATLAB Projects
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
TEP , The Engineering Projects , Tick Correct Answer
Comment Bio
TEP , The Engineering Projects , Image

adiono

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon

RE:

How to do strcmp in textboxes with Matlab
TEP , The Engineering Projects , Calender Comment: 10-Mar-2017
TEP , The Engineering Projects , Category In: MATLAB Projects
[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 !
TEP , The Engineering Projects , Tick Correct Answer
Comment Bio
TEP , The Engineering Projects , Tags
PLC
Robot
STM32
Arduino
AI
ESP32
Ladder Logic
PLC Projects
Programming
Communicates STM32
PLC Projects
Communicates PLC
Font Style
Alignment
Indenting and Lists
Insert Media
Insert Items

Want to leave an answer!

Word Count :0 Draft Saved at 12:42 am.