Overview
Comment: | Back under RCS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d8841870ba58308a8a1ffc4fe55c05eb |
User & Date: | gawthrop@users.sourceforge.net on 1998-07-04 07:15:44 |
Other Links: | branch diff | manifest | tags |
Context
1998-07-04
| ||
08:24:25 | New-style SS check-in: bbb95b4f0e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
07:15:44 | Back under RCS check-in: d8841870ba user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
07:10:27 |
Don't evaluate alias if no constitutive relationship or args and write message. check-in: afb9d0acb1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/comp/simple/SS_eqn.m from [5110a0fa2a] to [1b9d8e34d7].
︙ | ︙ | |||
24 25 26 27 28 29 30 31 32 33 34 35 36 37 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.15 1997/12/16 19:16:07 peterg % %% Added unknown input to the effort part. % %% % %% Revision 1.14 1997/12/16 18:25:19 peterg % %% Added unknown_input attribure to flow -- effort still needs doing % %% % %% Revision 1.13 1997/09/18 13:15:15 peterg | > > > > > | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.16 1998/04/11 19:07:16 peterg % %% Now do named ports as ordinary ports iff at top level. % %% --- not yet complete, need to pass necesssary info though to this % %% function % %% % %% Revision 1.15 1997/12/16 19:16:07 peterg % %% Added unknown input to the effort part. % %% % %% Revision 1.14 1997/12/16 18:25:19 peterg % %% Added unknown_input attribure to flow -- effort still needs doing % %% % %% Revision 1.13 1997/09/18 13:15:15 peterg |
︙ | ︙ | |||
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | % arg contains port number STDerr = 2; % Standard output effort_attribute = cr; flow_attribute = args; if strcmp(effort_attribute,'') effort_attribute = 'external'; end; if strcmp(flow_attribute,'') flow_attribute = 'external'; end; inputs = structure(3); outputs = structure(4); zero_outputs = structure(5); unknown_inputs = structure(6); | > > > > > > > > > | | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | % arg contains port number STDerr = 2; % Standard output effort_attribute = cr; flow_attribute = args; % Default attributes if strcmp(effort_attribute,'') effort_attribute = 'external'; end; if strcmp(flow_attribute,'') flow_attribute = 'external'; end; inputs = structure(3); outputs = structure(4); zero_outputs = structure(5); unknown_inputs = structure(6); % Is it a named port? (Name begins with [) Named_Port = (name(1)=='['); if Named_Port % Strip the [ name = name(2:length(name)); end; if Named_Port&&~at_top_level % It's a named port % Note: we don't have numbered ports now, so the correct indices are deduced % by incrementing the two globals: local_u_index and local_y_index % $$$ % Convert string to number % $$$ % port_number = abs(flow_attribute)-abs('0'); % $$$ % port_number = str2num(flow_attribute); |
︙ | ︙ |