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

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!

Risposte (1)

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.

Richiesto:

il 30 Lug 2020

Risposto:

il 14 Ago 2020

Community Treasure Hunt

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

Start Hunting!

Translated by