怎样在已有程序上加GUI,编写callback function
Mostra commenti meno recenti
已有一个能正常运行的小游戏程序,想在此基础上加一个开始界面。 创建了一个“新游戏”按钮,并将已有程序全部复制粘贴到function pushbutton1_Callback(hObject, eventdata, handles)下方,为什么按按钮后不能运行此程序呢?不知道callback function是不是有别的什么要求?或者是不是还需要改动outputfcn等地方? 错误提示是 Undefined function or variable 'pushbutton1_Callback'. Error while evaluating UIControl Callback 谢谢!
Risposte (0)
Categorie
Scopri di più su 循环及条件语句 in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!