Skip to content

Commit c3f78b4

Browse files
committed
matlab full path
1 parent 684f01a commit c3f78b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RUN.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ cd ..
3939

4040
# creation of the binary codes
4141
# runs matlab, and then create_lsh_codes script inside it.
42-
matlab -nojvm -nodisplay -nosplash -r "nb=$nb;create_lsh_codes;quit"
42+
$matlab_root_dir/bin/matlab -nojvm -nodisplay -nosplash -r "nb=$nb;create_lsh_codes;quit"
4343
if [ $? != 0 ]; then
4444
echo "Could not run matlab to create lsh codes... Aborting"
4545
exit 1
@@ -125,7 +125,7 @@ do
125125
done
126126

127127
# Testing the results of mih with the results of linscan
128-
matlab -nojvm -nodisplay -nosplash -r "addpath('test');test_mih_with_linscan('$db_file',$((nb/8)),'$mih_results','$linscan_results');quit"
128+
$matlab_root_dir/bin/matlab -nojvm -nodisplay -nosplash -r "addpath('test');test_mih_with_linscan('$db_file',$((nb/8)),'$mih_results','$linscan_results');quit"
129129
if [ $? != 0 ]; then
130130
echo "Could not run test_mih_with_linscan for some reason... Aborting"
131131
exit 1

0 commit comments

Comments
 (0)