How could I read a single cell of an .csv file using readmatrix function with import options?
조회 수: 23 (최근 30일)
이전 댓글 표시
Omar Andrés Rosada González
2020년 8월 5일
답변: Omar Andrés Rosada González
2020년 8월 6일
Hello to everyone, I need to process different data from a .csv file. I do ask for the user what are the row ranges that need to read the code, with that, I need to save a value from a particular cell from the spreadsheet.
Next work very well for me. But I would like to know if it's possible to make this using import options.
kappa = readmatrix('1_5B_2.csv', 'Range', 'D6:D6');
Thanks in advance.
댓글 수: 2
dpb
2020년 8월 6일
"possible to make this using import options."
Not sure what you mean here...explain more in detail.
Sudheer Bhimireddy
2020년 8월 6일
Try this link to know the what import options you have for the file being read.
Then you can use either readtable to readmatrix with possible import options.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!