#!/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$
###############################################################
#Inform user
echo Creating $1_rep.txt
cat <<EOF > $1_rep.txt
# 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
# Uncomment the following lines or add others
# mtt $1 ode tex # The system ode
# mtt $1 sspar tex # Steady-state parameters
# mtt $1 ss tex # Steady state
# mtt $1 sm tex # State matrices (of linearised system)
# mtt $1 lmfr ps # log modulus of frequency response (of linearised system)
# mtt $1 simpar tex # Simulation parameters
# mtt $1 numpar tex # Numerical simulation parameters
# mtt $1 input tex # Simulation input
# mtt $1 odeso ps # Simulation output
EOF