How to retrieve the array matrix from .fig file
이전 댓글 표시
Hi,
I have did some coding in m-file to run the pcolor data plot type. Then, I save it as .fig file. That pcolor data plot consists of 128x128 array matrix. How can I retrieve the array matrix of 128x128 from .fig file that I saved? So that I can save it in workspace as .mat file.
답변 (2개)
Walter Roberson
2016년 1월 15일
fh = openfig('map_fbp.fig');
sh = findall(fh, 'type', 'surface');
data_array = get(sh, 'CData');
delete(fh)
yasmin
2016년 1월 15일
0 개 추천
댓글 수: 1
Walter Roberson
2016년 1월 15일
Don't forget to mark the answer Accepted
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!