read entire sheet in xlsread basic mode

4 views (last 30 days)
Ryan Jones
Ryan Jones on 1 Oct 2019
Answered: Urmila Rajpurohith on 19 Nov 2019
I would like to read in the data on an entire excel sheet in linux. The size of the data is variable. From what i've read xlsread only works with the 'basic' option on linux. Is there any way to read the entire sheet?
When I try:
[num,txt,raw] = xlsread('myfile.xlsx','mySheetName','','basic')
all I get is the contents of the A1 cell.
Im using 2018b.

Answers (1)

Urmila Rajpurohith
Urmila Rajpurohith on 19 Nov 2019
xlsread is not recommended instead you can use “readtable” function to read entire excel sheet.
You can refer to the below documentation for more information on “readtable” function.

Community Treasure Hunt

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

Start Hunting!