How to automatically extract/save data from figure?

조회 수: 5 (최근 30일)
Abdennasser TACHEMA
Abdennasser TACHEMA 2020년 7월 25일
댓글: Rik 2020년 9월 1일
Hello dear colleagues Please, how can I automatically extract and save data (x,y) from Figure.fig. This figure is incremented by 02Hours (0:2:24), so I'll have 13 data (I do this manually, hard to do with 10000 fig). The output file will can be in .txt .mat
  댓글 수: 6
Abdennasser TACHEMA
Abdennasser TACHEMA 2020년 9월 1일
Hello, I know that you can't understand 5 matlab code (.mat) each one with 500 lines.
I posted the question overall.
Thank you to help me again
Rik
Rik 2020년 9월 1일
I'm assuming you mean you have 5 .m files that create your figures. Not all of those are required for this problem. Your data means something to you, but whether a value is 1 or 1000 doens't matter to the method that extracts the data.
You have two options:
  1. Attach the all files required to create the figures with your real data.
  2. Write code that will generate random data and create the plots you need.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by