how to keep yhe size of interface un changed

2 vues (au cours des 30 derniers jours)
waad almalki
waad almalki le 23 Mai 2014
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

Réponse acceptée

Image Analyst
Image Analyst le 23 Mai 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.

Plus de réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by