exit program whilst code is running
显示 更早的评论
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
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Strategy & Logic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!