changing font size of inputdlg box without changing factory defaults

6 ビュー (過去 30 日間)
Tanner
Tanner 2016 年 1 月 5 日
回答済み: Walter Roberson 2016 年 1 月 5 日
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 Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by