Error using xlsread.

3 Ansichten (letzte 30 Tage)
Jenice Chen
Jenice Chen am 26 Dez. 2018
Erneut geöffnet: Guillaume am 16 Jan. 2019
k=1;
N=zeros(16*k+1,150*k+1);
xlsFile='ConflictCasesC1-0418-1.xls';
case_matrix=xlsread(xlsFile,'crash_matrix_on_link');
A=case_matrix(:,[10 11]); % X1 Y1
mat_size=size(A);
Error in histagram (line 5)
case_matrix=xlsread(xlsFile,'crash_matrix_on_link');
  2 Kommentare
KSSV
KSSV am 26 Dez. 2018
is xlsread inbuilt function? Or you have the function?
Jenice Chen
Jenice Chen am 26 Dez. 2018
It may be inbuilt function.
I've figured out the reason - the xls. file is put into the wrong folder.
Thank you.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

madhan ravi
madhan ravi am 26 Dez. 2018
doc xlsread % second argument specifes the worksheet to be read

Kategorien

Mehr zu Software Development Tools finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by