Overview
Comment: | Initial revision |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6bbd7487ff9bb679e723b75795e24d2d |
User & Date: | gawthrop@users.sourceforge.net on 1997-08-02 19:35:47 |
Other Links: | branch diff | manifest | tags |
Context
1997-08-02
| ||
19:37:53 | Now uses named ports. check-in: f84d84397e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
19:35:47 | Initial revision check-in: 6bbd7487ff user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1997-07-27
| ||
13:12:03 | Initial revision check-in: 54a96339ac user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Added mttroot/mtt/lib/comp/simple/comp_ports.m version [4e5a6b47b6].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 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 | function ports = comp_ports(comp_type) % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%% Model Transformation Tools %%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Matlab function comp_ports % ports = comp_ports(comp_type) % Returns the port list for simple components % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% 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; |