1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /bin/sh
######################################
##### Model Transformation Tools #####
######################################
# Bourne shell script: matlab_header
# Generic octave function header
#Write some file headers
echo "function [A,B,C,D,E] = $1_$2"
echo "% $2 function for system $1 ($1_$2.m)"
echo "% Generated by MTT at `date`"
echo
#Globals
sympar2global_txt2m $1
echo ';'
|
>
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/sh
######################################
##### Model Transformation Tools #####
######################################
# Bourne shell script: matlab_header
# Generic octave function header
#Write some file headers
echo "function [$3] = $1_$2"
echo "% $2 function for system $1 ($1_$2.m)"
echo "% Generated by MTT at `date`"
echo
#Globals
sympar2global_txt2m $1
echo ';'
|