Write a function with input .xls file to read

1 view (last 30 days)
ML on 16 May 2022
Answered: KSSV on 17 May 2022
I am writing a function that will take inputs from excel data sheet and user input and compare it to see if the values are the same or not. I am not sure how to load my excel data sheet onto this function. Here is an example function:
iwant = ComputeValues(exceldata, userinput)

Accepted Answer

KSSV on 17 May 2022
To load the excel data into matlab use readtable
To compare values you can use isequal, ==, etc.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!