10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.5 1998/04/12 15:01:53 peterg
% %% Converted to uniform port notation - always use []
% %%
% %% Revision 1.4 1998/03/31 08:39:31 peterg
% %% Added EBTF
% %%
% %% Revision 1.3 1997/11/21 11:32:57 peterg
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.6 1998/06/29 09:55:17 peterg
% %% Changed name to FP from ES
% %%
% %% Revision 1.5 1998/04/12 15:01:53 peterg
% %% Converted to uniform port notation - always use []
% %%
% %% Revision 1.4 1998/03/31 08:39:31 peterg
% %% Added EBTF
% %%
% %% Revision 1.3 1997/11/21 11:32:57 peterg
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
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]'];
elseif length(findstr(comp_type,'[-FP-]'))==1
ports = ['[e]';'[s]'];
elseif length(findstr(comp_type,'[-PS-]'))==1
ports = ['[in]';'[out]';'[power]'];
elseif length(findstr(comp_type,N_ports))==1
if N==1
ports = ['[in]'];
elseif N==2
ports = ['[in]';'[out]'];
|
|
|
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
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]'];
elseif length(findstr(comp_type,'[-FP-]'))==1
ports = ['[f]';'[p]'];
elseif length(findstr(comp_type,'[-PS-]'))==1
ports = ['[in]';'[out]';'[power]'];
elseif length(findstr(comp_type,N_ports))==1
if N==1
ports = ['[in]'];
elseif N==2
ports = ['[in]';'[out]'];
|