필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

importing 2 excel sheet the same time

조회 수: 1 (최근 30일)
davit petraasya
davit petraasya 2015년 12월 22일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, I need to import 2 excel file to build 2 line in one graph. I could import my first file,but second file saying error. How I can import my second file also? Thanks!
Here is my code:
[NUMERIC,TXT,RAW]=XLSREAD('Corren.xlsx')
a=NUMERIC(:,1);
b=datenum(TXT(:,2),'dD/mm/yyyy');
plot(b,a,'.')
hold on
[NUMERIC,TXT,RAW]=XLSREAD('CorCumNT.xlsx');
Here is what it says: XLSREAD unable to open file CorCumNT.xlsx.
  댓글 수: 1
jgg
jgg 2015년 12월 22일
There are many possibilities.
Is the file open in another program? Does it have the correct name (including extension)? Is it in the same directory as the script you are trying to run?

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by