How can I change an xlsx file to a mat file?
31 ビュー (過去 30 日間)
古いコメントを表示
I have a long column in a form of a .xlsx file and I am trying to convert to a .mat file in order to make a signal. what is the best way to go about this?
0 件のコメント
回答 (2 件)
Hank
2020 年 6 月 1 日
Try using
A = readmatrix('spreadsheet.xlsx')
If you need to save it as a mat file
save('data.mat','A')
2 件のコメント
Son Pham
2024 年 6 月 21 日
I think using Import tool is the quickest way.
You can check it here: Import Spreadsheets - MATLAB & Simulink (mathworks.com)
readmatrix as Hank mention is also useful Read matrix from file - MATLAB readmatrix (mathworks.com)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!