Write a function with input .xls file to read

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

To load the excel data into matlab use readtable
To compare values you can use isequal, ==, etc.

More Answers (0)

Products

Release

R2021b

Asked:

ML
on 16 May 2022

Answered:

on 17 May 2022

Community Treasure Hunt

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

Start Hunting!