Error using xlsread.

조회 수: 2 (최근 30일)
Jenice Chen
Jenice Chen 2018년 12월 26일
다시 열림: Guillaume 2019년 1월 16일
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
KSSV
KSSV 2018년 12월 26일
is xlsread inbuilt function? Or you have the function?
Jenice Chen
Jenice Chen 2018년 12월 26일
It may be inbuilt function.
I've figured out the reason - the xls. file is put into the wrong folder.
Thank you.

댓글을 달려면 로그인하십시오.

답변 (1개)

madhan ravi
madhan ravi 2018년 12월 26일
doc xlsread % second argument specifes the worksheet to be read

카테고리

Help CenterFile Exchange에서 Software Development Tools에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by