Question: how to get data from excel file in matlab?
Answer: For example, read data from the sample spreadsheet file patients. xls as a table in MATLAB. Open the file using the Import Tool and select options such as the range of data and the output type. Then, click the Import Selection button to import the data into the MATLAB workspace.