MATLAB: Read from excel and compare text

importing excel dataMATLABxlsread

I need to read a column from excel for example say I need to read user_id column from excel and the excel sheet is present in some other folder at desktop.after I read the column containing user_id's I need to search for a particular user_id. How do I do that …?

Best Answer

readtable() to get the data into place. strcmp() or ismember() the appropriate column of the table.