exit program whilst code is running

조회 수: 3 (최근 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 CenterFile Exchange에서 Strategy & Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by