How to take a column of an excel spreadsheet and declare as a variable
조회 수: 20 (최근 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!