How to extract data from Matlab figures in a folder into Excel spreadsheets

12 vues (au cours des 30 derniers jours)
Song Wang
Song Wang le 30 Juil 2020
Hello!
I would like to ask if anyone can help me with extracting data from multiple Matlab figures into Excel spreadsheets. The figure is 3-dimension with x, y, and z. I know how to do it every single one of them. But I have tons of figures like this and doing it repeatdlt seems less efficiency. I attached the code of how to extra data from a 3-dimension Matlab figure to an Excel spreadsheet. Assuming I have all fig files in a folder. How can I (a) read all fig files in the folder and (b) extra them into spreasheets?
I would really appreciate your help!
Feel free to let me know if anything confuses you.
Thanks!

Réponses (1)

Puru Kathuria
Puru Kathuria le 14 Août 2020
Hi,
Please have a look at MLGetFigure, it will let you import any MATLAB figure into excel worksheets.
Also, have a look at this answer and this answer. Both of them are closely related to your requirements.

Community Treasure Hunt

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

Start Hunting!

Translated by