処理実行中のみボタンのテキストを変更するには
Mostra commenti meno recenti
AppdesignerでGUIアプリの開発をしています。
ボタンをクリックした後、時間のかかる処理を行いたいと考えています。
このときボタンの表示をrun→runningに変更する必要があります。
以下のコードを実行しましたが、ボタンの文字の更新が行われません。
function ButtonPushed(app, event)
app.Button.Text = 'running';
calculate();
app.Button.Text = 'run';
end
文字の変更後、画面をリフレッシュする必要があると思うのですが方法が分かりません。
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Deep Learning Toolbox 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!