필터 지우기
필터 지우기

changing font size of inputdlg box without changing factory defaults

조회 수: 9 (최근 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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by