Error using load : Input must be a MAT-file or an ASCII file containing numeric data with same number of columns in each row.
古いコメントを表示
Error using load
Unable to read file 'C:\Users\erand\Downloads\T1.mat'. Input must be a MAT-file or an ASCII file
containing numeric data with same number of columns in each row.
Error in uiimport/runImportdata (line 470)
datastruct = load('-ascii', fileAbsolutePath);
Error in uiimport/gatherFilePreviewData (line 438)
[datastruct, textDelimiter, headerLines]= runImportdata(fileAbsolutePath, type);
Error in uiimport (line 260)
gatherFilePreviewData(fileAbsolutePath);
5 件のコメント
Star Strider
2023 年 7 月 20 日
See what this reveals:
type('C:\Users\erand\Downloads\T1.mat')
It may just produce garbage, however it may also reveal the problem.
Eran Dutt
2023 年 7 月 20 日
Mrutyunjaya Hiremath
2023 年 7 月 21 日
can you share the T1.mat'?
Eran Dutt
2023 年 7 月 21 日
Star Strider
2023 年 7 月 21 日
It failed forr me as well:
LD = load('T1.mat')
Error using load
Invalid field name: 's?????_label'.
The ‘?????’ may be Unicode characters or something else that MATLAB doesn’t recognise as acceptable. There doesn’t appear to be a way to modify load to import those, since you already tried '-ascii' and that obviously didn’t work.
See if you can find a valid version of the file. There’s nothing further to be done here.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!