Converting an excel file into struct
12 ビュー (過去 30 日間)
古いコメントを表示
Hi all! I am facing a problem in converting my two column vectors in excel file to a struct. The columns have Time and data values respectively. I need to convert them to struct so that I could process it further using Matlab commands which require struct type of arguments. Kindly help me with this. Regards,
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 1 月 12 日
編集済み: Walter Roberson
2016 年 1 月 12 日
Do you have R2014b or newer? If you do then
table2struct( readtable('YourExcelFile.xls') )
3 件のコメント
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!