Turn off your Windows Computer from within MATLAB after a long unattended calculation

버전 1.0.0.0 (951 Bytes) 작성자: Michael Kleder
Turn off a Windows machine from within MATLAB.
다운로드 수: 4.6K
업데이트 날짜: 2005/10/24

라이선스 없음

I find this function very useful for automatically turning off my Windows computer after a long, unattended MATLAB calculation is complete. Of course, the usual issues with Windows processes occasionally refusing to halt emerges, but when MATLAB is the only "serious" process executing, I find that the SHUTDOWN function almost always works in turning off the computer. The system shudown command is executed with the appropriate options to force any running applications to close, so be sure so save your data and close other applications before beginning your unattended MATLAB calculation (and design your MATLAB calculation to save its own data before terminating). I've used this function myself with no problems, but as always, there are no warranties; use at your own risk.

Note: you can use this function BEFORE starting your calculation, by estimating the required execution time, or you can use this function AFTER the calculation (recommended) by calling it when your calculation is complete.

Note: If you change your mind, you can use this command to ABORT a shutdown as well. (Use "help shutdown" for more information.)

Michael Kleder, Oct 2005

인용 양식

Michael Kleder (2024). Turn off your Windows Computer from within MATLAB after a long unattended calculation (https://www.mathworks.com/matlabcentral/fileexchange/8783-turn-off-your-windows-computer-from-within-matlab-after-a-long-unattended-calculation), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP2
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0