フィルターのクリア

Urgent!! Help me to solve this error (struct contents reference from a non-struct array object )

1 回表示 (過去 30 日間)
'||--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

採用された回答

DGM
DGM 2021 年 4 月 21 日
Try specifying a delimiter:
A=importdata ('CARS_Original_oocycts_BM_oocyst_data.txt',' ');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by