|
Last change
on this file since 567 was
507,
checked in by sommeria, 13 years ago
|
|
various improvments and corrections
dtatatree_browser tested
|
|
File size:
464 bytes
|
| Line | |
|---|
| 1 | % check |
|---|
| 2 | if isempty(which('mcc')) |
|---|
| 3 | msgbox_uvmat('no Matlab compiler toolbox mcc installed') |
|---|
| 4 | return |
|---|
| 5 | end |
|---|
| 6 | display('compiling civ_matlab...') |
|---|
| 7 | % commands to compile civ_matlab and eventually other functions |
|---|
| 8 | mcc -m -R -nojvm -R -nodisplay civ_matlab.m |
|---|
| 9 | system('mv -f civ_matlab bin/'); |
|---|
| 10 | system('sed -e ''s#/civ_matlab#/bin/civ_matlab#'' run_civ_matlab.sh > civ_matlab.sh'); |
|---|
| 11 | system('rm run_civ_matlab.sh'); |
|---|
| 12 | system('chmod +x civ_matlab.sh'); |
|---|
| 13 | display('** END **') |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.