フィルターのクリア

Matlab disables monitor sleeping under Ubuntu

2 ビュー (過去 30 日間)
Xiangrui Li
Xiangrui Li 2020 年 11 月 8 日
コメント済み: Xiangrui Li 2021 年 5 月 12 日
It seems once Matlab starts, the Ubuntu monitor won't fall into sleep, but stay on all the time on some Matlab versions.
I have searched solutions for the issue, but all I found are how to disble screen saver under Linux.
Here are my limited test:
On an Ubuntu 16.04 machine, Matlab R2017a has no problem. Even if Matlab is running, the monitor will get into sleep mode based on the setting.
On the same Ubuntu, Matlab R2019b gives the problem. Once Matlab is running, the monitor will stay on.
On another Ubuntu 18.04, both Matlab R2019b and R2020a give the same problem: monitor stays on once Matlab is running.
In all tested cases, after Matlab exists, the monitor will get into sleep mode without problem.
Any idea or workaround? Thanks.
  2 件のコメント
Ronald Modesitt
Ronald Modesitt 2021 年 3 月 3 日
Xiangrui,
I have the same problem with Linux Mint 19.3 on a Dell XPS8930 with 32Gb. Have you had any luck finding a solution?
Ron
Xiangrui Li
Xiangrui Li 2021 年 5 月 12 日
Ron, please see the accepted answer.

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

採用された回答

Madhav Thakker
Madhav Thakker 2021 年 3 月 19 日
Hi Xiangrui,
This is a known issue with R2019b and happens when a program is open in the editor. Our developers are aware about this issue and might fix in the future releases.
You can try the following troubleshooting steps:
1. Start MATLAB with the '-nodesktop' flag. To do this, execute 'matlab -nodesktop' at the Linux command line.
matlab -nodesktop
2. If step 1 does not prevent sleep, start MATLAB with the '-nodesktop' flag and execute the command 'edit' in the MATLAB Command Window to open the editor.
matlab -nodesktop
edit
Hope this helps.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by