How can I close an App Designer App programmatically?
古いコメントを表示
Given an App Designer App, how can I close the App programmatically in MATLAB once I have launched it?
採用された回答
その他の回答 (1 件)
Image Analyst
2022 年 1 月 10 日
If you want to close it programmatically from an "Exit" button you have placed on the window, you can call the delete method of app from within the callback function for the Exit button:
% Button pushed function: ExitButton
function ExitButtonPushed(app, event)
app.delete % Shut down the entire app
end
カテゴリ
ヘルプ センター および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!