Overview
Comment:Correctely recognises port SSs its now easy -- they are in there own
field
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 9bb564d12317294766e2683271410311dd8a043191bc7b91669cbd8a1f50ed98
User & Date: gawthrop@users.sourceforge.net on 1998-08-25 09:22:34
Other Links: branch diff | manifest | tags
Context
1998-08-25
12:22:45
Put _switch after update and also at initilisation check-in: a4772b8d82 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:22:34
Correctely recognises port SSs its now easy -- they are in there own
field
check-in: 9bb564d123 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:15:28
Fixed couple of problems with using two copies of the one data
stucture:

ABG_field and ABG.field

Maybe this is conceptually wrong? check-in: 53d7f1424c user: gawthrop@users.sourceforge.net tags: origin/master, trunk

Changes

Modified mttroot/mtt/bin/trans/m/cbg2ese.m from [7be6568792] to [2ea9ad400f].

19
20
21
22
23
24
25



26
27
28
29
30
31
32
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.28  1998/08/25 08:31:42  peterg
# ## Fixed bug - didn't find the ports - use deblank
# ##
# ## Revision 1.27  1998/08/25 07:16:49  peterg
# ## Modified to data struture representation
# ##
# ## Revision 1.26  1998/08/24 14:53:55  peterg
# ## Uses new _cbg structure.
# ##
# ## Revision 1.25  1998/07/28 19:05:12  peterg
322
323
324
325
326
327
328
329
330


331
332

333
334
335
336
337
338
339
325
326
327
328
329
330
331


332
333
334

335
336
337
338
339
340
341
342







-
-
+
+

-
+







	    
	    disp("---POP---");
	  else # its a simple component
	    fprintf(ese_file, "\n\t%s Equations for component %s (%s), repetition %d\n\n", ...
		    pc, comp_name, subsystem.type,k);
	    
	    
				# Is it a named port? (Name begins with [)
            Named_Port = (comp_name(1)=="[");
#				# Is it a named port? (Name begins with [)
#            Named_Port = (comp_name(1)=="[");
	    
	    if Named_Port #Add [ to start of name
	    if strcmp(field,"ports") #Add [ to start of name
	      name_r = ["[" name_r];
	    endif;
	    
				# Save the current structure
	    old_structure = structure;
	    
				# Generate the simple component equations


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