First time here? Check out the Help page!
The problem solved. I wrote a job script and run Matlab from that. The issue was transferring the path to Matlab.
![]() | 2 | No.2 Revision |
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:
cd (the path of matlab script)
INPUT=1 echo "INPUT" > script_log.out
NNNN="decoder_5spot('"{INPUT}"');exit;" echo "NNNN" >> script_log.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
#rm -r tmp-runtimes
#mkdir tmp-runtimes
rm -r tmp-runtimes
mkdir tmp-runtimes
cd (the path of matlab script)
script)
INPUT=$1
echo "$INPUT" > script_log.out
script_log.out
NNNN="decoder_5spot('"${INPUT}"');exit;"
echo "$NNNN" >> script_log.out
script_log.out
# time -o time.out
time.out matlab -nodisplay -nosplash -nodesktop -r $NNNN
$NNNN