フィルターのクリア

How to make MATLAB display error messages in the command line?

3 ビュー (過去 30 日間)
Sören
Sören 2014 年 3 月 19 日
回答済み: M Adomini 2022 年 3 月 9 日
I'm using version 8.1.0.604 (R2013a) of MATLAB via SSH and -nodisplay.
My problem is that MATLAB does not display error messages in the command line.
For example, typing "a=3+" and pressing Enter all I get is a new line and prompt.
I wish it behaved like the normal non-command line version, e.g. showed "a=3+ Error: Expression or statement is incomplete or incorrect."
MATLAB does write the above error message in the log file though (as specified by "matlab -nodisplay -logfile filename")

回答 (2 件)

Surbhi Thole
Surbhi Thole 2020 年 11 月 11 日
This issue is not reproducible in r2020b version. Please let me know if you are still seeing the issue. Thanks.

M Adomini
M Adomini 2022 年 3 月 9 日
I am facing similar issue on Matlab R21b. no error massages when running a script are dispalyed.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by