Effacer les filtres
Effacer les filtres

Error: Number of columns on line 467100 of ASCII file?

1 vue (au cours des 30 derniers jours)
Meera
Meera le 8 Avr 2015
Commenté : Meera le 9 Avr 2015
Hello Guys,
I was trying to load a txt file in gui, But I got an error as follows. May I know what is the meaning of that error.
{ Error using load Number of columns on line 467100 of ASCII file C:\Users\Desktop\F56_\F56_neue_Querstrebe_Frequenzanalyse.txt must be the same as previous lines.}
When I try loading other txt files its working with out any errors.
With Regards; Meera
  3 commentaires
Meera
Meera le 9 Avr 2015
Hello Hardy,
I here by attached the code
{ q = get(handles.samp_freq,'string'); Fs = str2num(q); T = 1/Fs;
mV_g = str2num(get(handles.Offset_Value,'string'));
[filename pathname] = uigetfile({'*.txt'},'file select'); fullpathname = strcat(pathname,filename); Data = load(fullpathname); Error = mean(Data); % offset adjustment Data = (Data-Error)/(mV_g); % conversion to g Len = length(Data); % Length of signal time = (0:Len-1)*T; }
Meera
Meera le 9 Avr 2015
Hello Hardy,
I found the error.
Thank you.
Regards; Meera

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by