Index: mttroot/mtt/bin/trans/m/cbg2ese.m ================================================================== --- mttroot/mtt/bin/trans/m/cbg2ese.m +++ mttroot/mtt/bin/trans/m/cbg2ese.m @@ -20,10 +20,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.15 1997/12/16 18:24:33 peterg +% %% Added unknown_input to structure list +% %% % %% 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 @@ -283,14 +286,17 @@ if structure_changes>0 which_indices = getindex(structure_change,1); which_indices = which_indices(:,2)'; for which_index=which_indices value = structure(which_index); - fprintf(structure_file, ... - '%s\t%1.0f\t%s\t%s\t%1.0f\n', ... - structure_name(which_index,:), value, ... - comp_name, full_name, repetition); + value_change=value-old_structure(which_index); + for k=1:value_change + fprintf(structure_file, ... + '%s\t%1.0f\t%s\t%s\t%1.0f\n', ... + structure_name(which_index,:), value-k+1, ... + comp_name, full_name, repetition); + end; end; end; end; end;