 Timestamp:
 Jul 24, 2014, 2:45:18 AM (7 years ago)
 Location:
 trunk/src
 Files:

 2 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'] 
trunk/src/compile_civ_matlab.m
r646 r800 12 12 end 13 13 end 14 mcc m R nojvm R nodisplay civ_matlab.m14 mcc m R nojvm R nodisplay R singleCompThread civ_matlab.m 15 15 system('mv f civ_matlab bin/'); 16 16 system('sed e ''s#/civ_matlab#/bin/civ_matlab#'' run_civ_matlab.sh > civ_matlab.sh');
Note: See TracChangeset
for help on using the changeset viewer.