read entire sheet in xlsread basic mode

3 ビュー (過去 30 日間)
Ryan Jones
Ryan Jones 2019 年 10 月 1 日
回答済み: Urmila Rajpurohith 2019 年 11 月 19 日
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.

回答 (1 件)

Urmila Rajpurohith
Urmila Rajpurohith 2019 年 11 月 19 日
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.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by