MATLAB Answers

Loading excel data using a professional code

2 views (last 30 days)
Afua Amoako Dadey
Afua Amoako Dadey on 12 Jun 2021
Answered: Kunal Kandhari on 15 Jun 2021
Hi,
please can someone help to import data using matlab
Afua

Answers (1)

Kunal Kandhari
Kunal Kandhari on 15 Jun 2021
To import data in matlab you can use load function
Note: The only kind of "excel file" that you can use with load() is a .csv file. The file which you are trying to load should be purely numeric with no headers, with no missing entries, and with no text.
You can refer here:
For other workbook, you can use readcell, readtable or readmatrix according to your data and output format.

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by