source: trunk/src/compile_functions.m @ 538

Last change on this file since 538 was 507, checked in by sommeria, 12 years ago

various improvments and corrections
dtatatree_browser tested

File size: 464 bytes
RevLine 
[503]1% check
[507]2if isempty(which('mcc'))
[503]3    msgbox_uvmat('no Matlab compiler toolbox mcc installed')
4    return
5end
6display('compiling civ_matlab...')
[481]7% commands to compile civ_matlab and eventually other functions
[430]8mcc -m -R -nojvm -R -nodisplay civ_matlab.m
[481]9system('mv -f civ_matlab bin/');
10system('sed -e ''s#/civ_matlab#/bin/civ_matlab#'' run_civ_matlab.sh > civ_matlab.sh');
11system('rm run_civ_matlab.sh');
12system('chmod +x civ_matlab.sh');
[503]13display('** END **')
[430]14
15
[481]16
Note: See TracBrowser for help on using the repository browser.