Deleting CreateFcn in GUI

1 回表示 (過去 30 日間)
ericson
ericson 2014 年 2 月 27 日
回答済み: Voss 2022 年 5 月 18 日
Hi! I have a gui, when I generate the code, it goes up to more than 6000 lines of codes. The main reason for it is because I haveso many edit text in my gui, so i causes many createfcn in my code. I want to remove it to lessen the lines of codes and to increase the speed of the loading time of my gui. How do I delete it?

回答 (1 件)

Voss
Voss 2022 年 5 月 18 日
There is an option in GUIDE (in the Tools menu > GUI Options ...) called "Generate callback function prototypes", which is selected by default. De-selecting this option will prevent CreateFcns and Callbacks from being generated automatically.

カテゴリ

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