File mtt/bin/trans/makerep_txt artifact 62dfdf7ad4 part of check-in 4683e9435a


#!/bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: makerep_tex
# Makes template for (TeX) system description.

# P.J.Gawthrop July 1998
# Copyright (c) P.J.Gawthrop, 1998.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.6  2000/11/15 10:56:45  peterg
## Added state tex
##
## Revision 1.5  2000/11/04 12:32:43  peterg
## Added more reps + more default reps
##
## Revision 1.4  1999/03/02 22:02:16  peterg
## Octave-mode style
##
## Revision 1.3  1998/11/18 10:47:39  peterg
## Added transfer function rep
##
## Revision 1.2  1998/11/10 09:16:41  peterg
## Added structure rep
##
## Revision 1.1  1998/07/22 09:14:42  peterg
## Initial revision
##
###############################################################


#Inform user
echo Creating $1_rep.txt

cat <<EOF > $1_rep.txt
## -*-octave-*- Put Emacs into octave-mode
## Outline report file for system $1 ($1_rep.txt)
## Generated by MTT on" `date`.

EOF

cat $MTTPATH/trans/rcs_header.sh >> $1_rep.txt

cat <<EOF >> $1_rep.txt
mtt $1 abg tex			# The system description
mtt $1 cbg ps 		        # The causal bond graph
mtt $1 struc tex	        # The system structure
mtt $1 sympar tex	        # The system parameters
## Uncomment the following lines or add others
## mtt $1 dae tex	        # The system dae
## mtt $1 ode tex	        # The system ode 
## mtt $1 sspar tex		# Steady-state parameters
## mtt $1 ss tex 		# Steady state
## mtt $1 dm tex		# Descriptor matrices (of linearised system)
## mtt $1 sm tex		# State matrices (of linearised system)
## mtt $1 tf tex		# Transfer function (of linearised system)
## mtt $1 lmfr ps		# log modulus of frequency response (of linearised system)
## mtt $1 simpar txt		# Simulation parameters
## mtt $1 numpar txt		# Numerical simulation parameters
## mtt $1 state txt		# Simulation initial state
## mtt $1 input txt		# Simulation input
## mtt $1 logic txt		# Logic control
## mtt $1 odeso ps		# Simulation output

## mtt $1 rep txt		# This file
EOF



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