-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_all.sh
40 lines (31 loc) · 1.5 KB
/
run_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
echo "Create data for Figure 1..."
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure1a.m');exit;" | tail -n +11
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure1c.m');exit;" | tail -n +11
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure1e.m');exit;" | tail -n +11
echo "Figure 1 done."
echo "Create data for Figure 2..."
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure2.m');exit;" | tail -n +11
echo "Figure 2 done."
echo "Create data for Figure 3..."
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure3.m');exit;" | tail -n +11
echo "Figure 3 done."
echo "Create data for Figure 4..."
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure4.m');exit;" | tail -n +11
echo "Figure 4 done."
echo "Create data for Figure 5..."
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure5.m');exit;" | tail -n +11
echo "Figure 5 done."
echo "Create data for Figure 6..."
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure6.m');exit;" | tail -n +11
echo "Figure 6 done."
echo "Create data for Figure 7..."
python3 figure7_I.py
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure7_II.m');exit;" | tail -n +11
echo "Figure 7 done."
echo "Create data for Figure 8..."
python3 figure8_I.py
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure8_II.m');exit;" | tail -n +11
echo "Figure 8 done."
echo "Create data for Figure 9..."
matlab -nodisplay -nosplash -nodesktop -nojvm -r "run('figure9.m');exit;" | tail -n +11
echo "Figure 9 done."