I want to run a MATLAB script in Linux over ssh, so would like to remove this text that I normally see when running from the command line (I assume ths is the "splash screen").
< M A T L A B (R) >
Copyright 1984-2024 The MathWorks, Inc.
R2024b (24.2.0.2712019) 64-bit (glnxa64)
August 22, 2024
To get started, type doc.
For product information, visit www.mathworks.com.
>>
Both the following commands still give me the splash screen.
$ matlab -nodisplay -nosplash
$ matlab -nojvm -nosplash
I dont want to redirect the output as I may want to capture errors that the script throws up.
How can I disable my splash screen?

 採用された回答

Swastik Sarkar
Swastik Sarkar 2024 年 11 月 29 日

1 投票

For running a MATLAB script in a non-interactive workflow, consider using the -batch startup option, which prevents the MATLAB banner from being printed. The command would look like this:
matlab -nodisplay -batch "script"
To learn more about the -batch option, refer to the following documentation:
This approach is useful for executing scripts efficiently without additional output.

1 件のコメント

dormant
dormant 2024 年 12 月 5 日
Many thanks.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2024b

タグ

質問済み:

2024 年 11 月 29 日

コメント済み:

2024 年 12 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by