Creating Mat file using execl file
조회 수: 1 (최근 30일)
이전 댓글 표시
Davide Di Pasquale
2018년 6월 14일
댓글: Yuvaraj Venkataswamy
2018년 6월 14일
I have an excel file containing numbers in five columns and several rows. Each column represents a variable.How I can generate a mat file that recognise the varaibles? And how to call the variables for the mat file generated?
댓글 수: 0
채택된 답변
Yuvaraj Venkataswamy
2018년 6월 14일
Use below commands.
if true
Input=xlsread('your_file.xls');
save Input.mat
end
댓글 수: 3
Yuvaraj Venkataswamy
2018년 6월 14일
Then can define it as variable like below,
A=input;
Then use it for further processing.
추가 답변 (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!