exit program whilst code is running

2 ビュー (過去 30 日間)
James Webber
James Webber 2022 年 1 月 5 日
コメント済み: Rik 2022 年 1 月 5 日
i am programming a game and i want to be able to turn the game off whilst it is playing, like half way through i want to be able to quit the game
  1 件のコメント
Rik
Rik 2022 年 1 月 5 日
If your game is in a figure, it is probably as easy as closing the figure.
You can use the closereqfcn to save the game state if you like.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStrategy & Logic についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by