Overview
Comment:Chooses 1st i/o from mimo system to ceate siso
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ac656bec0940f3f26ec0f346e862a6f72d7d012c4257897d1c0e1d3a3a660571
User & Date: gawthrop@users.sourceforge.net on 2000-09-11 11:08:29
Other Links: branch diff | manifest | tags
Context
2000-09-14
07:50:08
*** empty log message *** check-in: 85667c4393 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-09-11
11:08:29
Chooses 1st i/o from mimo system to ceate siso check-in: ac656bec09 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:06:46
Initial revision check-in: d437a942da user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/smo2ssl_r from [402c803deb] to [a8920b8d83].

10
11
12
13
14
15
16



17

















18
19
20
21
22
23
24
25
26
27
28
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



###############################################################



















# Inform user
echo Creating $1_ssl.r -- NOTE this is for SISO systems only.

# Remove the old log file
rm -f smo2ssl_r.log

# Use reduce to accomplish the transformation
reduce >smo2ssl_r.log << EOF








>
>
>

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  1998/01/23 09:31:03  peterg
## Initial revision
##
###############################################################

Nu=`mtt_getsize $1 u`
Ny=`mtt_getsize $1 y`

if [ "$Nu" = "1" ]; then
  if [ "$Ny" = "1" ]; then
    blurb=' for this siso system'    
  else
    blurb=" using first output of $Ny"
  fi
else
  if [ "$Ny" = "1" ]; then
    blurb=" using first input of $Nu"
  else
    blurb=" using first input of $Nu and using first output of $Ny"
  fi
fi


# Inform user
echo Creating $1_ssl.r $blurb

# Remove the old log file
rm -f smo2ssl_r.log

# Use reduce to accomplish the transformation
reduce >smo2ssl_r.log << EOF


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]