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.

Antworten (1)

Sajan Mushini
Sajan Mushini am 19 Feb. 2019

0 Stimmen

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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 15 Feb. 2019

Beantwortet:

am 19 Feb. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by