필터 지우기
필터 지우기

How to save an image using a push button on MATLAB gui

조회 수: 5 (최근 30일)
Tania
Tania 2015년 8월 26일
댓글: Walter Roberson 2017년 3월 19일
Hi,
I have just started working with MATLAB GUI. I can open an image, process the image but unable to save the image to a destination folder.
Any help will be appreciated.

채택된 답변

Walter Roberson
Walter Roberson 2015년 8월 26일
[filename, foldername] = uiputfile('Where do you want the file saved?');
complete_name = fullfile(foldername, filename);
imwrite(TheArray, complete_name);
  댓글 수: 6
Image Analyst
Image Analyst 2017년 3월 19일
They are returned from uiputfile() - it's whatever the user chose. You can also use imsave() instead of uiputfile().
Walter Roberson
Walter Roberson 2017년 3월 19일
In other words they are not constants, they are values returned by the uigetfile routine according what the user chooses.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by