How to read numbers spreadsheets from Mac using Matlab

47 ビュー (過去 30 日間)
Stelios Fanourakis
Stelios Fanourakis 2019 年 10 月 30 日
回答済み: Cris LaPierre 2021 年 1 月 7 日
I am using the xlsread command to read numbers spreadsheets in Matlab but I get the error that cannot find the file. The file is in the folder but cannot find it. Why? I don't get any error with the xlsread command. Can Matlab see number spreadsheets? It has been saved as the one the Numbers app of Mac exports
  4 件のコメント
Walter Roberson
Walter Roberson 2020 年 1 月 15 日
If the file is xls or xlsx then unless Windows with Excel is being used, it may be necessary to use readtable.


回答 (2 件)

Jyotsna Talluri
Jyotsna Talluri 2019 年 11 月 4 日
'xlsread' is not recommended in the latest versions .Instead try using 'readtable'

Cris LaPierre
Cris LaPierre 2021 年 1 月 7 日
MATLAB does not appear to be able to read these files directly. The recommended workaround is to export the file as a *.xlsx or *.csv file, then import using readtable. Other methods for importing can be found here.

Community Treasure Hunt

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

Start Hunting!

Translated by