Differences From Artifact [026a8be4a2]:

To Artifact [f469aeb38e]:


18
19
20
21
22
23
24




25
26
27
28
29
30
31
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35







+
+
+
+







% Structure matrix [states,nonstates,inputs,outputs,zero_outputs]

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.14  1997/08/26 07:51:10  peterg
% %% Now counts the local input and outputs by order of appearence rather
% %% than by port number - it therfore handles ports with bicausality correctely.
% %%
% %% Revision 1.13  1997/05/19 16:45:56  peterg
% %% Fixed ISW bug -- deleted spurious ISW_eqn.m file
% %%
% %% Revision 1.12  1997/04/15  09:17:26  peterg
% %% Added the structure file - contains details of states etc.
% %% 
% %% Revision 1.11  1996/12/07 18:20:11  peterg
66
67
68
69
70
71
72
73
74
75
76
77






78
79
80
81
82
83
84
70
71
72
73
74
75
76





77
78
79
80
81
82
83
84
85
86
87
88
89







-
-
-
-
-
+
+
+
+
+
+








system_name, system_type, full_name,

pc = '%';

% Set up the names corresponding to the structure matrix.
structure_name = [
  'state       ',
  'nonstate    ',
  'input       ',
  'output      ',
  'zero_output '];
  'state        ',
  'nonstate     ',
  'input        ',
  'output       ',
  'zero_output  ',
  'unknown_input'];

	
% Are we at the top level of the heirarchy?
at_top_level = strcmp(full_name, '');

% Create the (full) system name
if at_top_level

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