Changeset 800 for trunk/src/compile.m
- Timestamp:
- Jul 24, 2014, 2:45:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/compile.m
r747 r800 24 24 SubfctPath=['-I ' SubfctPath];%string indicating the option of including the path SubfctPath 25 25 end 26 disp(['mcc -m -R -nojvm -R -nodisplay ' SubfctPath ' ' FctName '.m'])26 disp(['mcc -m -R -nojvm -R -nodisplay -R -singleCompThread ' SubfctPath ' ' FctName '.m']) 27 27 try 28 eval(['mcc -m -R -nojvm -R -nodisplay ' SubfctPath ' ' FctName '.m'])% compile the source file [FctName .m], which produces a binary file FctName and a cmd file [run_' FctName '.sh]28 eval(['mcc -m -R -nojvm -R -nodisplay -R -singleCompThread ' SubfctPath ' ' FctName '.m'])% compile the source file [FctName .m], which produces a binary file FctName and a cmd file [run_' FctName '.sh] 29 29 system(['mv -f ' FctName ' bin/']);%move the binary file FctName to the subdir /bin 30 30 system(['sed -e ''''s#/' FctName '#/bin/' FctName '#'''' run_' FctName '.sh > ' FctName '.sh']);%modify the cmd file and copy it to [FctName '.sh']
Note: See TracChangeset
for help on using the changeset viewer.