how to keep yhe size of interface un changed

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Image Analyst
Image Analyst il 23 Mag 2014
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.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by