Matlab program crashing while trying to run in background (by adding &)

hi all
a new user here. version: 2018b .OS: red hat Linux
i am trying to run a marlab program in background.
matlab -nodesktop -nosplash <script> output.txt &
it crashes but when i remove "&" it works fine.
any suggestions appreciated.

1 件のコメント

Walter Roberson
Walter Roberson 2019 年 2 月 15 日
is there an error message ?
did you try redirecting stderr as well ?

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

回答 (1 件)

Sajan Mushini
Sajan Mushini 2019 年 2 月 19 日

0 投票

Yes, it was complaining about missing "END" statement. GUI version was able to run the same code. I commented out 'fclose all' in my code and it worked. Thanks for the prompt reply.

カテゴリ

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

質問済み:

2019 年 2 月 15 日

回答済み:

2019 年 2 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by