Overview
Comment:fflush (structure_file).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 1b3954381d854a8c13f016b92f5b93216df8efbda9dd8db0335906325956006d
User & Date: geraint@users.sourceforge.net on 2001-11-11 08:32:00
Other Links: branch diff | manifest | tags
Context
2001-11-11
18:12:30
Moved fflush(structure_file) out of loop. check-in: a441d7b49b user: geraint@users.sourceforge.net tags: origin/master, trunk
08:32:00
fflush (structure_file). check-in: 1b3954381d user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-11-03
07:51:39
fflush() buffer before returning - ensures def.r is written to.,
required for either octave-2.1.35 or linux-2.4.12 (not sure which).
check-in: ae2ebf6ae4 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/m/cbg2ese.m from [30fe4dd076] to [f4c341bfe9].

19
20
21
22
23
24
25




26
27
28
29
30
31
32
  ## Structure matrix [states,nonstates,inputs,outputs,zero_outputs]
  
  ## ###############################################################
  ## ## Version control history
  ## ###############################################################
  ## ## $Id$
  ## ## $Log$




  ## ## Revision 1.41  2001/04/15 21:15:41  geraint
  ## ## Added interface definition rep: _ICD.(txt|c|cc|m).
  ## ##
  ## ## Revision 1.40  2001/02/05 01:50:29  geraint
  ## ## No unit type comparison at ports if either is "none".
  ## ##
  ## ## Revision 1.40  2000/12/16 08:10:55  geraint







>
>
>
>







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  ## Structure matrix [states,nonstates,inputs,outputs,zero_outputs]
  
  ## ###############################################################
  ## ## Version control history
  ## ###############################################################
  ## ## $Id$
  ## ## $Log$
  ## ## Revision 1.42  2001/04/23 16:23:30  gawthrop
  ## ## Now stips ; from bottlom level argument list - allows aliasing of
  ## ## parts of a,b,c (eg a,b by using a,b;c
  ## ##
  ## ## Revision 1.41  2001/04/15 21:15:41  geraint
  ## ## Added interface definition rep: _ICD.(txt|c|cc|m).
  ## ##
  ## ## Revision 1.40  2001/02/05 01:50:29  geraint
  ## ## No unit type comparison at ports if either is "none".
  ## ##
  ## ## Revision 1.40  2000/12/16 08:10:55  geraint
497
498
499
500
501
502
503

504
505
506
507
508
509
510
 	    	value = structure(which_index);
	    	value_change=value-old_structure(which_index);
	    	for k=1:value_change
		  fprintf(structure_file, ...
			  "%s\t%i\t%s\t%s_%s\t%i\n", ...
			  structure_name(which_index,:), value-k+1, ...
			  comp_name, full_name_repetition, comp_name, repetition);

	    	endfor;
 	      endfor;
 	    endif;
	  endif
	endfor

	## component interface definition







>







501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
 	    	value = structure(which_index);
	    	value_change=value-old_structure(which_index);
	    	for k=1:value_change
		  fprintf(structure_file, ...
			  "%s\t%i\t%s\t%s_%s\t%i\n", ...
			  structure_name(which_index,:), value-k+1, ...
			  comp_name, full_name_repetition, comp_name, repetition);
		  fflush (structure_file);
	    	endfor;
 	      endfor;
 	    endif;
	  endif
	endfor

	## component interface definition


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