10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
+
+
+
|
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.230 2000/03/15 20:31:06 peterg
## Replaced lbl2cr by abg2cr_m2txt
##
## Revision 1.229 2000/03/15 19:39:40 peterg
## Replaced sub creation cmp2sub_m2sh by abg2sub_m2sh
##
## Revision 1.228 2000/03/07 10:54:14 peterg
## Added $1_lbl.txt to sympar.txt
##
## Revision 1.227 2000/02/16 15:05:46 peterg
|
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
|
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
|
-
+
|
###############################################################
#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"
#Version
version='4.0++'
version='4.1'
# MTT recursion level is zero unless explicitly set
level=0
#Computation mode is octave by default
computation=octave
|
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
|
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
|
-
-
+
+
|
sub_sh2tex -l $1
endif
#SUMMARY abg acausal bond graph (m)
#Raw bond graph to acausal bond graph: mfile
ifneq ($start_at_abg,yes)
$1_abg.m: $1_rbg.m $1_alias.m
abg2sub_m2sh $1
$1_abg.m: $1_rbg.m $1_alias.m $1_cmp.m
cmp2sub_m2sh $1
(sh $1_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1
rbg2abg_m $info_switch $1
endif
#SUMMARY cbg* causal bond graph (m)
#Acausal bond graph to causal bond graph: mfile
$1_cbg.m: $1_abg.m
|