13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
+
+
+
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.7 2001/07/03 22:59:10 gawthrop
% %% Fixed problems with argument passing for CRs
% %%
% %% Revision 1.6 1998/07/27 09:53:44 peterg
% %% No change
% %%
% %% Revision 1.5 1998/07/21 16:43:26 peterg
% %% Now writes to an explicit fileID - otherwise we may run out of IDs.
% %%
% %% Revision 1.4 1996/12/10 16:04:11 peterg
|
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
-
+
|
% Test for empty argument -- replace by default and tell user
message = 'Argument %1.0f of component %s(%s) of system %s is undefined - \n replacing by %s';
if strcmp(arg_out,'')
info = sprintf(message, ...
i, comp_name, comp_type, full_name, default);
arg_out = default;
else
info = sprintf("Replacing $%i \t by %s for component %s (%s) \
info = sprintf("Replacing $%i \t by %s for component %s (%s) ...
within %s", i, arg_out, comp_name, comp_type, full_name);
end;
mtt_info(info,fileID);
args_out = [args_out, arg_out];
end;
end;
end;
|