Is it better to import data directly from an Excel file?

5 vues (au cours des 30 derniers jours)
Cynthia Moore
Cynthia Moore le 19 Avr 2020
I want to generate some graphs of blood glucose readings stored in Excel. The Excel files have a lot of other data besides the readings columns. I have been reading the help sections on importing data. It is not clear to me whether it is better to import the data directly from the Excel file and then filter it or export just the data I want to plot from Excel to a CSV file and import that.
I am inclined to import directly from the Excel file and filter if that works. That would save a step and I would have the latest data.
I assume that I can set it up so that MatLab can refresh the import whenever I want a new plot, right?
  3 commentaires
darova
darova le 19 Avr 2020
Why do you ask such things? Do you any doubts? You can easily import data from Excel using readmatrix
Just specify range if you need only specific cells
darova
darova le 19 Avr 2020
  • I assume that I can set it up so that MatLab can refresh the import whenever I want a new plot, right?
Yes, of course

Connectez-vous pour commenter.

Réponse acceptée

Cynthia Moore
Cynthia Moore le 20 Avr 2020
Thanks, dpb.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by