Save image from function with imwrite in other function

2 ビュー (過去 30 日間)
ArnoldK
ArnoldK 2015 年 5 月 10 日
回答済み: Ahmet Cecen 2015 年 5 月 11 日
Hi,
I have a gui made for matching two color patches, the active patch is adjusted with slider, and then this adjusted image is shown in one of the axis. I have a button in gui, which when pressed should save my image that is in axis to the folder.
The image that need to be saved after button is pressed is J.
I tried different things but Im sure that there is such an easy way to solve this issue.
Could you help me?

回答 (1 件)

Ahmet Cecen
Ahmet Cecen 2015 年 5 月 11 日
You need to write something along the lines of:
imsave(handles.axes4);
Under a pushbutton object.

カテゴリ

Help Center および File ExchangeDisplay Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by