# Create the odea.m function
cat <<EOF > $1_odea.m
function mttyz = $1_odea(mttui);
% mttyz = $1_odea(mttui);
%Algebraic equations in Octave form for system $1;
%File $1_odea.m;
%Generated by MTT on `date`;
%Generated by mtt on `date`;
EOF
# Create the globals
sympar2global_txt2m $1 >> $1_odea.m
cat <<EOF >> $1_odea.m
# Create the odeo.m function
cat <<EOF > $1_odeo.m
function mtty = $1_odeo(x,t);
% mtty = $1_odeo(x,t);
%Algebraic equations in Octave form for system $1;
%File $1_odeo.m;
%Generated by MTT on `date`;
%Generated by MTT on `date`;
EOF
# Create the globals
sympar2global_txt2m $1 >> $1_odeo.m
#Common bit