Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

importing 2 excel sheet the same time

1 Ansicht (letzte 30 Tage)
davit petraasya
davit petraasya am 22 Dez. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
jgg
jgg am 22 Dez. 2015
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?

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by