필터 지우기
필터 지우기

How can I keep a function operating while the screen is locked?

조회 수: 258 (최근 30일)
Marta
Marta 2017년 1월 12일
답변: Azhar 2024년 7월 10일 3:11
using MATLAB 2014A on macOS 10.11.6, I am running a function from the command line, and when I lock the screen the function suspends activity until I unlock it again.
  댓글 수: 1
John Chilleri
John Chilleri 2017년 1월 12일
Not sure if this is possible; however, if your goal is to have the function run even when your computer naturally goes to sleep/lock screen, then you can always adjust your computer settings to never sleep.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2017년 1월 13일
In OS-X System Preferences, Energy Saver, Power Adapter, increase your Computer sleep time.

추가 답변 (2개)

O.Hubert
O.Hubert 2018년 1월 11일
I think the question is unclear: does 'locked' mean 'sleep mode' or 'locked' as in 'you need a password to unlock this computer'?
For the first meaning, increasing (or disabling) sleep mode in Windows would do. If the computer goes to sleep mode, all programs stop running. For the second meaning, you can lock the computer and MATLAB will still be running. On Windows, you lock the computer by pressing Win+L. For OS-X or Linux computers, I am sure there is something similar.

Azhar
Azhar 2024년 7월 10일 3:11
If the laptop was updated while the MATLAB program was running, is it possible to restore the code running after running?

카테고리

Help CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by