how to keep yhe size of interface un changed

조회 수: 3 (최근 30일)
waad almalki
waad almalki 2014년 5월 23일
답변: Image Analyst 2014년 5월 23일
i have designed interface but each time i run it the size of the interface change to fill all screen display , how can i keep size unchanged? also i have tow buttons one for save the images and another for printing what aproper function for save button and print button? thank you very much for help

채택된 답변

Image Analyst
Image Analyst 2014년 5월 23일
Look for 'Position' in your m-file. Changes are you're calling set() with the 'Position' property set to be the whole screen.
In the callback functions of the buttons you can call imwrite() to save an image array, call export_fig() to save an axes or figure with all the text and other annotation. I'm not sure how to print directly to the printer from MATLAB, but if you can, I'm sure someone will tell you.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by