1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /bin/sh
######################################
##### Model Transformation Tools #####
######################################
# Bourne shell script: mtt_p2oct
# Pascal to .oct (octave loadable binary).
# P.J.Gawthrop Feb 2000
# Copyright (C) 2000 by Peter J. Gawthrop
#$Id$
## Extract the system and rep names.
sys=`mtt_sysname $1`
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /bin/sh
######################################
##### Model Transformation Tools #####
######################################
# Bourne shell script: mtt_p2cc
# Pascal to .cc (for octave .oct files).
# P.J.Gawthrop Feb 2000
# Copyright (C) 2000 by Peter J. Gawthrop
#$Id$
## Extract the system and rep names.
sys=`mtt_sysname $1`
|
110
111
112
113
114
115
116
117
118
119
|
esac
# Terminating }
echo "}" >> $sys_rep.cc;
# Convert to octave loadable code
echo Creating $sys_rep.oct
mkoctfile $sys_rep.cc
|
|
|
|
110
111
112
113
114
115
116
117
118
119
|
esac
# Terminating }
echo "}" >> $sys_rep.cc;
# Convert to octave loadable code
#echo Creating $sys_rep.oct
#mkoctfile $sys_rep.cc
|