Is it possible to use imwrite function with standalone gui?

조회 수: 3 (최근 30일)
Hossain Md Shakhawat
Hossain Md Shakhawat 2018년 8월 26일
댓글: Hossain Md Shakhawat 2018년 9월 9일
I have created a GUI which writes the result as an image in a directory using imwrite. My program is working good in Matlab compiler. Further, I have created a standalone application using Application compiler of Matlab for that GUI. BUt the standalone GUI is not responding whenever I am using the imwrite function with the given directory.
  댓글 수: 8
Hossain Md Shakhawat
Hossain Md Shakhawat 2018년 8월 27일
편집: Hossain Md Shakhawat 2018년 8월 27일
In details: I have created a gui that will upload an image (user will select the image). Then I have written the uploaded image to a folder called Input. Further, I have read the image from the input folder and performed some image processing using a separate Matlab program. The GUI then calls the program and display the output image produced by that program. Finally, the GUI also writes the output into the Output folder. I tried several procedures including the above one but can't write the input image(I guess). As the program cant read the image from the input folder. I have converted the GUI to standalone using the Matlab Application compiler. And tested the results using the test only files. **The GUI and program work fine in Matlab compiler (not standalone).
Hossain Md Shakhawat
Hossain Md Shakhawat 2018년 9월 9일
Thanks. The problem is solved.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by