How could I read a single cell of an .csv file using readmatrix function with import options?
47 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Omar Andrés Rosada González
le 5 Août 2020
Réponse apportée : Omar Andrés Rosada González
le 6 Août 2020
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 commentaires
dpb
le 6 Août 2020
"possible to make this using import options."
Not sure what you mean here...explain more in detail.
Sudheer Bhimireddy
le 6 Août 2020
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.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!