MATLAB Answers


How to read numbers spreadsheets from Mac using Matlab

Asked by Stelios Fanourakis on 30 Oct 2019
Latest activity Answered by Jyotsna Talluri on 4 Nov 2019
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

  1 Comment

I used the csvread command and the file.numbers extension and I get the error
Error using dlmread (line 147)
HeaderColumns must be integer-valued.
Error in csvread (line 48)
m=dlmread(filename, ',', r, c);
Error in ogden (line 2)
SheetA = csvread('instron.numbers',1,'M2:M1027');

Sign in to comment.

1 Answer

Answer by Jyotsna Talluri on 4 Nov 2019

'xlsread' is not recommended in the latest versions .Instead try using 'readtable'


Sign in to comment.