changing font size of inputdlg box without changing factory defaults

6 次查看(过去 30 天)
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!

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by