Error using xlsread.

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일

0 개 추천

doc xlsread % second argument specifes the worksheet to be read

카테고리

도움말 센터File Exchange에서 Software Development Tools에 대해 자세히 알아보기

질문:

2018년 12월 26일

다시 열림:

2019년 1월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by