11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.252 2000/08/09 10:31:17 peterg
## Use -d option to find if its a book-style report
##
## Revision 1.251 2000/08/04 10:54:33 peterg
## Rationalised call to gcc using -lp2c to access p2c lib.
##
## Revision 1.250 2000/08/01 19:29:27 peterg
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.253 2000/08/24 08:53:35 peterg
## New makesubs to create a .subs.r file with output switches to simplify output.
##
## Revision 1.252 2000/08/09 10:31:17 peterg
## Use -d option to find if its a book-style report
##
## Revision 1.251 2000/08/04 10:54:33 peterg
## Rationalised call to gcc using -lp2c to access p2c lib.
##
## Revision 1.250 2000/08/01 19:29:27 peterg
|
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
|
###############################################################
#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"
#Version
version='4.4++'
# MTT recursion level is zero unless explicitly set
level=0
#Computation mode is octave by default
computation=octave
|
|
|
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
|
###############################################################
#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"
#Version
version='4.5'
# MTT recursion level is zero unless explicitly set
level=0
#Computation mode is octave by default
computation=octave
|
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
|
( \
echo "%% Reduce commands to simplify output for system $1 ($1_simp.r)"; \
cat $MTTPATH/trans/m/rcs_header.txt; \
echo 'END;'; \
)> $1_simp.r
#SUMMARY subs algebraic substitution (r)
$1_subs.r: $1_sympar.txt
makesubs $1;
#SUMMARY obspar GPC observability function parameters (r)
$1_obspar.r:
echo Creating $1_obspar.r
( \
echo "%% Reduce GPC observability function parameters for system $1 ($1_obspar.r)"; \
|
|
>
|
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
|
( \
echo "%% Reduce commands to simplify output for system $1 ($1_simp.r)"; \
cat $MTTPATH/trans/m/rcs_header.txt; \
echo 'END;'; \
)> $1_simp.r
#SUMMARY subs algebraic substitution (r)
$1_subs.r:
mtt $mtt_switches -q -u $1 sympar txt;
makesubs $1;
#SUMMARY obspar GPC observability function parameters (r)
$1_obspar.r:
echo Creating $1_obspar.r
( \
echo "%% Reduce GPC observability function parameters for system $1 ($1_obspar.r)"; \
|