Running MATLAB in headless mode.

122 ビュー (過去 30 日間)
Keith
Keith 2017 年 12 月 12 日
編集済み: Patrick King 2019 年 2 月 19 日
Is there a way to run MATLAB in headless mode when you don't have the Parallel Computing Toolbox (PCT)? I have used the PCT in the past and it's really nice when I have had to create and save a large number of plots that they can be batched and run in a headless mode. Is there a way to run MATLAB in headless mode without the PCT?

採用された回答

Edric Ellis
Edric Ellis 2017 年 12 月 13 日
On UNIX platforms, you can use matlab -nodisplay (there's no equivalent on Windows).
  2 件のコメント
Keith
Keith 2017 年 12 月 13 日
This starting option will allow me to create and save plots with out having them displayed? Do you know if this will also work is running MATLAB through an SSH client to a UNIX machine?
Patrick King
Patrick King 2019 年 2 月 19 日
編集済み: Patrick King 2019 年 2 月 19 日
I've recently been working on a similar project, I have some Matlab code which creates figures that I wish to run in headless mode. So, I ran a little experiment, and configured a Linux VM to boot to a terminal, with none of the graphical user interface services running.
Running my Matlab program, which creates figures and creates files based on their content, seems to work just fine in this environment. If it works in a local terminal login, it should work just fine over SSH as well. (Probably!)
I realize this question was asked some time ago, I'm commenting in the hope that someone in the future will find this helpful.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by