Write a function with input .xls file to read

3 ビュー (過去 30 日間)
ML
ML 2022 年 5 月 16 日
回答済み: KSSV 2022 年 5 月 17 日
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)

採用された回答

KSSV
KSSV 2022 年 5 月 17 日
To load the excel data into matlab use readtable
To compare values you can use isequal, ==, etc.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by