data import error in line 1
Mostra commenti meno recenti
Hi I am trying to import a excel document to matlab by using the code below. However I am getting the message error in line one. I have try differents approached such as data = load but no results. Any help will be aprreciated.
data = xlsread('station.xlxs' ,1,'A2:E457');
pi = 3.14159;
jun_aug_1 = data(:,1);
jun_aug_2 = data(:,2);
dec_feb_1 = data(:,3);
dec_feb_2 = data(:,4);
4 Commenti
Walter Roberson
il 1 Ott 2019
What is the error message?
Walter Roberson
il 1 Ott 2019
Have you tried using readtable() ?
desert_scientist90
il 1 Ott 2019
Steven Lord
il 10 Ott 2019
Risposte (1)
desert_scientist90
il 1 Ott 2019
1 Commento
Walter Roberson
il 1 Ott 2019
Ah, you had an error in the file extension so the file did not exist.
Categorie
Scopri di più su Data Import from MATLAB in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!