Effacer les filtres
Effacer les filtres

changing font size of inputdlg box without changing factory defaults

9 vues (au cours des 30 derniers jours)
Tanner
Tanner le 5 Jan 2016
Hi, as seen in the title I would like to change the font size of an inputdlg box. I did this successfully by opening the inputdlg.m file and changing the TextInfo.FontSize entry. However the program I'm writing will be emailed to colleagues who are not familiar with Matlab and I want to avoid any kind of setup work before use.
Is there a way to do this within the main script? If not is there another input prompt I can use like using uicontrol or similar?
Thanks!

Réponses (1)

Walter Roberson
Walter Roberson le 5 Jan 2016
You can copy and modify inputdlg under a different name and include the modified code at the end of your own code.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by