Overview
Comment:Two more columns in _stuc.txt: causality and subsystem name
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: b3c8c02d46bf3ffef419824a342d04a7b46edfd2ffb3e2f03a6deac1e8d0d6e0
User & Date: gawthrop@users.sourceforge.net on 2003-02-28 09:12:17
Other Links: branch diff | manifest | tags
Context
2003-03-10
12:07:25
Tracking Matlab's ever-changing API.
Updated to Matlab 6.5:
- removed mxSetName
- mexGetArray -> mexGetVariable
- mexPutArray -> mexPutVariable
check-in: b7937ff652 user: geraint@users.sourceforge.net tags: origin/master, trunk
2003-02-28
09:12:17
Two more columns in _stuc.txt: causality and subsystem name check-in: b3c8c02d46 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2003-02-21
09:17:16
*** empty log message *** check-in: be739f082c user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/m/cbg2ese.m from [779f20cb00] to [ee9337ddf4].

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.45  2002/05/22 09:15:03  gawthrop
  ## ## Non-repetitive components no longer use _1 in names
  ## ##
  ## ## Revision 1.44  2001/11/11 18:12:30  geraint
  ## ## Moved fflush(structure_file) out of loop.
  ## ##
  ## ## Revision 1.43  2001/11/11 08:32:00  geraint







>
>
>







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.46  2002/08/20 15:51:17  gawthrop
  ## ## Update to work with ident DIY rep
  ## ##
  ## ## Revision 1.45  2002/05/22 09:15:03  gawthrop
  ## ## Non-repetitive components no longer use _1 in names
  ## ##
  ## ## Revision 1.44  2001/11/11 18:12:30  geraint
  ## ## Moved fflush(structure_file) out of loop.
  ## ##
  ## ## Revision 1.43  2001/11/11 08:32:00  geraint
525
526
527
528
529
530
531
532
533
534

535
536
537
538
539
540
541
 	      which_indices = getindex(structure_change,1);
 	      which_indices = which_indices(:,2)';
 	      for which_index=which_indices
 	    	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
	fflush (structure_file);








|

|
>







528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
 	      which_indices = getindex(structure_change,1);
 	      which_indices = which_indices(:,2)';
 	      for which_index=which_indices
 	    	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\t%s\t%s\n", ...
			  structure_name(which_index,:), value-k+1, ...
			  comp_name, full_name_repetition, comp_name, \
			  repetition, cause2name(-comp_bonds(1)), full_name_repetition );
	    	endfor;
 	      endfor;
 	    endif;
	  endif
	endfor
	fflush (structure_file);


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