How to take a column of an excel spreadsheet and declare as a variable
19 ビュー (過去 30 日間)
古いコメントを表示
I have a selection of values from a column in excel which I would like to declare as a variable in MATLAB. What would be the best way to go about doing this?
0 件のコメント
回答 (1 件)
Star Strider
2016 年 2 月 13 日
For example:
A = xlsread(filename, 'B:B');
This assigns colunm ‘B’ in the Excel file to variable ‘A’.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!