Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
isabel
Posts:
1
Registered:
5/3/12
|
|
Re: How to run matlab in background on a linux server?
Posted:
May 3, 2012 6:01 PM
|
|
"Yuheng" wrote in message <ifu0us$i02$1@fred.mathworks.com>... > I tried a command like this: > > nohup matlab linux_try.m 1>std.out 2>err.out & > > there is only one line in the file linux_try.m, which is > > a = magic(5) > > but in std.out there are a lot of 'Warning: Error reading character from command line', and in err.out there are a lot of 'Bad file descriptor'. > > Can anybody help me? Thanks a lot
you missed the < to pass the input argument (file name) nohup matlab < linux_try.m 1> std.out 2> err.out &
|
|
|
|