ADDED mttroot/mtt/bin/trans/struc_txt2mstruc Index: mttroot/mtt/bin/trans/struc_txt2mstruc ================================================================== --- mttroot/mtt/bin/trans/struc_txt2mstruc +++ mttroot/mtt/bin/trans/struc_txt2mstruc @@ -0,0 +1,67 @@ +#! /bin/sh + + ###################################### + ##### Model Transformation Tools ##### + ###################################### + +# Bourne shell script: struc_txt2m + +# Structure file - txt to m-structure conversion +# Copyright (C) 2003 by Peter J. Gawthrop + +############################################################### +## Version control history +############################################################### +## $Id$ +## $Log$ +############################################################### + +sys=$1 +infile=${sys}_struc.txt +fun=${sys}_mstruc +outfile=${fun}.m + +#Inform user +echo Creating ${outfile} + +create_header() { + cat <${outfile} +create_structure >>${outfile} +create_footer >>${outfile} +