what should I include in the code that read the data from specific sheet of excel file
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
muhammad choudhry
am 22 Jul. 2021
Kommentiert: muhammad choudhry
am 22 Jul. 2021
Hi,
I have excel file with around 12 sheet basically 12 experimental data and I would like to make my life easier by putting the line of code into the existing code that it will read the sheet name and plot the data from that sheet, with code below it is only reading the data from the first sheet..... I am googling from last hour but I couldnt't find something relevant coming. It be a great time saving help if you guys can help.
Current code:
a=readmatrix('Head_Pressure_all.ods');
% I want to add a sort of code line here where the code can into file 'Head_Pressure_all.ods' and read the data from that sheet
x=a(:,4);
y=a(:,8);
figure(1)
plot(x,y,'x','LineWidth',0.5);
hold on
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets 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!