Urgent!! Help me to solve this error (struct contents reference from a non-struct array object )
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Divya Ganesan
am 21 Apr. 2021
Kommentiert: Divya Ganesan
am 21 Apr. 2021
'||--Algorithm: CARS_Original_oocycts_BM_oocyst,Preterat: 1, Population: 100--||'
'Run no.||LVs|| Varsize || RMSECV || RMSEP || Error || Non-Error || Accuracy ||Not assigned||sens(infec)||sens(noninfec)||speci(infec)||speci(noninfec)'
' 1 4 143 24.1415 27.6283 0.2253 0.7747 0.7500 0.2308 0.8571 0.6923 0.6923 0.8571
' 2 1 10 23.9704 27.6539 0.5000 0.5000 0.5000 0.9615 0.0000 1.0000 1.0000 0.0000
' 3 2 10 24.1009 27.6221 0.2857 0.7143 0.7333 0.4231 0.6667 0.7619 0.7619 0.6667
' 4 1 92 23.9795 27.6484 0.5000 0.5000 0.6667 0.9423 0.0000 1.0000 1.0000 0.0000
' 5 2 10 24.1480 27.6168 0.3444 0.6556 0.6429 0.4615 0.7000 0.6111 0.6111 0.7000
This is one of the text files i have..
I want to extract only the numerical part from this file..
so i used this code..
A=importdata ('CARS_Original_oocycts_BM_oocyst_data.txt');
X=A.data;
**here i got this error (Struct contents reference from a non-struct array object)
I dont know how to solve this... please help me to solve it
0 Kommentare
Akzeptierte Antwort
DGM
am 21 Apr. 2021
Try specifying a delimiter:
A=importdata ('CARS_Original_oocycts_BM_oocyst_data.txt',' ');
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays 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!