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

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 20 Juil 2016

0 votes

Using xlsread you can select any sheet

3 commentaires

Jamie Shelley
Jamie Shelley le 20 Juil 2016
Will I have to resave the csv files into xls to do that though? Thanks
Jamie Shelley
Jamie Shelley le 20 Juil 2016
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 le 20 Juil 2016
Thanks, I just used a num2str for the variable and it found the page! Thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by