select specific sheet in csv file

조회 수: 4 (최근 30일)
Jamie Shelley
Jamie Shelley 2016년 7월 20일
댓글: Jamie Shelley 2016년 7월 20일
Is there a way of selecting a specific sheet from a csv file please? I've got each sheet saved as a date (eg, 19.07) and using strcat, the program finds the sheet I want (like 19.07 for example) but then is there a way of selecting just that sheet from the whole csv file? Thanks

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 7월 20일
Using xlsread you can select any sheet
  댓글 수: 3
Jamie Shelley
Jamie Shelley 2016년 7월 20일
also, I've used xlsread before for this kind of thing but I've always used the sheet number as opposed to the sheet title - Is there a way to select the title as opposed to the number in the format I've written the titles please?
Jamie Shelley
Jamie Shelley 2016년 7월 20일
Thanks, I just used a num2str for the variable and it found the page! Thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by