Overview
Comment:Removed the Octave switch: empty_list_elements_ok = 1;
This is now in .octaverc
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e4caa98b3c3365a4b6c3a2079d9b98176ab9c69c4696d4e7405f6f5b01e14834
User & Date: gawthrop@users.sourceforge.net on 1996-12-05 10:05:28
Other Links: branch diff | manifest | tags
Context
1996-12-05
10:17:34
Put in version control history. check-in: 532092897f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:05:28
Removed the Octave switch: empty_list_elements_ok = 1;
This is now in .octaverc
check-in: e4caa98b3c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:02:45
Explicit generation of strong-causality equations -- oneequation not
used now.
check-in: f59877b57c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/cbg2ese_m2r from [0925ef3585] to [e0e9130b2d].

12
13
14
15
16
17
18




19
20
21
22
23
24
25

###############################################################
## Version control history
###############################################################
## $Id$
##
## $Log$




# Revision 1.6  1996/08/26  13:25:07  peterg
# Corrected error handling.
#
# Revision 1.5  1996/08/24  14:38:11  peter
# Error handling included.
#
## Revision 1.4  1996/08/19 09:02:12  peter







>
>
>
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

###############################################################
## Version control history
###############################################################
## $Id$
##
## $Log$
# Revision 1.7  1996/08/30  11:29:49  peter
# Added constitutive relationship to argument list.
# Put in explicit argument list to cbg2ese.
#
# Revision 1.6  1996/08/26  13:25:07  peterg
# Corrected error handling.
#
# Revision 1.5  1996/08/24  14:38:11  peter
# Error handling included.
#
## Revision 1.4  1996/08/19 09:02:12  peter
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63

64
65
66
67

68
69
70

71
72
73
74
75
76
77
78
79
80


81
82
83
84
85
86
touch $infofile

#Inform user
echo Creating $eqnfile
echo Creating $1_def.r

# Use matrix manipulation to accomplish the transformation
$MATRIX > cbg2ese_m2r.log 2>mtt_error.txt << EOF

infofile = '$infofile';;
system_name = '$1';
system_type = '';
system_cr = '';
system_args = '';
full_name = '';


deffile = '$1_def.r';

%Structure matrix [states,nonstates,inputs,outputs,zero_outputs]

structure = zeros(1,5);

structure = cbg2ese(system_name, system_type, system_cr, ...

                     system_args, full_name , 1, structure, infofile);
makedef(structure,deffile);
  
EOF

cat $infofile

cat $1_*ese.r - > $1_ese.r 2>> mtt_error.txt <<EOF
END;
EOF



# Now invoke the standard error handling.
mtt_error mtt_error.txt










|







>



|
>



>
|






|


>
>






53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
touch $infofile

#Inform user
echo Creating $eqnfile
echo Creating $1_def.r

# Use matrix manipulation to accomplish the transformation
$RMATRIX > cbg2ese_m2r.log 2>mtt_error.txt << EOF

infofile = '$infofile';;
system_name = '$1';
system_type = '';
system_cr = '';
system_args = '';
full_name = '';
full_name_repetition = '';

deffile = '$1_def.r';

% Structure matrix [states,nonstates,inputs,outputs,zero_outputs]

structure = zeros(1,5);

structure = cbg2ese(system_name, system_type, system_cr, ...
                     system_args, full_name, full_name_repetition, ...
                     1, structure, infofile);
makedef(structure,deffile);
  
EOF

cat $infofile

cat $1*ese.r - > $1_ese.tmp 2>> mtt_error.txt <<EOF
END;
EOF
mv $1_ese.tmp $1_ese.r


# Now invoke the standard error handling.
mtt_error mtt_error.txt




MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]