| MATLAB Central > MATLAB Newsreader > running matlab in background |
|
|
|
I am running matlab over the network on a linux server. If I say: |
|
"Alex" <abarrie@meicompany.com> wrote in message <gvmog9$ode$1@fred.mathworks.com>... |
|
most of the other posts just talk about using the -r option to run a script, which i am doing. the problem is that when i run it as a background job it no longer works. |
|
Try matlab -nodesktop -r script > output.txt & |
|
I tried that and I also tried using the -logfile option. In both cases the outfile was empty so it looks like it is not even getting to the point of trying to run something. |
|
Is it still producing the display error when you try with the -nodesktop option ?Can you paste here the command you used and the error generated ?. |
|
Here is the input and output. One other item of note: the process does not actually end, but looks like it crashes. if I kill the process using just kill it does not die. I have to give it a kill -9 to actually get rid of it. |
|
"Alex" <abarrie@meicompany.com> wrote in message <gvmog9$ode$1@fred.mathworks.com>... |
|
"Andreas " <afe405@hotmail.com> wrote in message <h7rt4p$l54$1@fred.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| crash | Alex | 29 May, 2009 15:59:04 |
| nodesktop | John | 29 May, 2009 14:24:11 |
Contact us at files@mathworks.com
