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 日

0 投票

Using xlsread you can select any sheet

3 件のコメント

Jamie Shelley
Jamie Shelley 2016 年 7 月 20 日
Will I have to resave the csv files into xls to do that though? Thanks
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 件)

カテゴリ

ヘルプ センター および File Exchange で File Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by