How to extract a matrix from a .fig in Matlab?

6 ビュー (過去 30 日間)
Sachin Nag
Sachin Nag 2017 年 4 月 21 日
回答済み: Image Analyst 2017 年 4 月 21 日
I have a Matlab .fig file. (Basically a pcolor plot). I want to extract the matrix (like rows and columns into an array variable) from this image. How do I do this? Thanks for any inputs or pointers.

回答 (1 件)

Image Analyst
Image Analyst 2017 年 4 月 21 日
Use getimage() or getframe() depending on what you want to do. Or you can use export_fig to export the whole axes or figure to an image file, like a .PNG file.

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by