Overview
Comment:Added RS component to the two-port list
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: a7e3c46c7d075dbd3b86cf4c4111d7daa8d82ace37bd5e1c6ec0ae94f866679a
User & Date: gawthrop@users.sourceforge.net on 1997-08-28 08:08:24
Other Links: branch diff | manifest | tags
Context
1997-08-28
13:41:57
Removes translation of:
mttx
mttdx
mtty
mttu
check-in: dc422c1b08 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:08:24
Added RS component to the two-port list check-in: a7e3c46c7d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1997-08-26
15:20:25
Added explicit evaluation of report representations
Version now 2.5++
check-in: 8e04fa509e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/comp/simple/comp_ports.m from [4e5a6b47b6] to [572f781925].

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


% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$



% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



one_ports = '-SS-R-C-I-';
two_ports = '-TF-GY-AE-AF-FMR-';

comp_type = ['-', comp_type, '-'];

if length(findstr(comp_type,one_ports))==1


  ports = ['in'];
elseif length(findstr(comp_type,two_ports))==1
  ports = ['in';'out'];
elseif length(findstr(comp_type,'-EMTF-'))==1
  ports = ['in';'out';'mod'];
end;











>
>
>



>

|



|
>
>



|


>



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


% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.1  1997/08/02 19:35:47  peterg
% %% Initial revision
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


junctions = '-zero-one-';
one_ports = '-SS-R-C-I-';
two_ports = '-TF-GY-AE-AF-FMR-RS-';

comp_type = ['-', comp_type, '-'];

if length(findstr(comp_type,junctions))==1
  ports = ['undefined]'];
elseif length(findstr(comp_type,one_ports))==1
  ports = ['in'];
elseif length(findstr(comp_type,two_ports))==1
  ports = ['in';'out'];
elseif length(findstr(comp_type,'[-EMTF-]'))==1
  ports = ['in';'out';'mod'];
end;





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