Revision history [back]
The problem solved. I wrote a job script and run Matlab from that. The issue was transferring the path to Matlab.
The job script is like this:
#!/bin/sh
#rm -r tmp-runtimes
#mkdir tmp-runtimes
cd (the path of matlab script)
INPUT=$1
echo "$INPUT" > script_log.out
NNNN="decoder_5spot('"${INPUT}"');exit;"
echo "$NNNN" >> script_log.out
# time -o time.out
matlab -nodisplay -nosplash -nodesktop -r $NNNN
The problem solved. I wrote a job script and run Matlab from that. The issue was transferring the path to Matlab.
The job script is like this:
#!/bin/sh
!/bin/sh
rm
-rmkdir tmp-runtimes
cd (the path of matlabThe problem solved. I wrote a job script and run Matlab from that. The issue was transferring the path to Matlab.
The job script is like this:
!/bin/sh
rm -r tmp-runtimes
mkdir tmp-runtimes
cd (the path of matlab script)
INPUT=$1 echo "$INPUT" > script_log.out
NNNN="decoder_5spot('"${INPUT}"');exit;" echo "$NNNN" >> script_log.out
time -o time.out
matlab -nodisplay -nosplash -nodesktop -r $NNNN