Overview
Comment:Stop writing out the sys stucture to the screen
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 6fc007a3ac25c655a98936ad660d4f43c3250e92c4b577c4a7affb004b5c0255
User & Date: gawthrop@users.sourceforge.net on 2003-05-16 11:17:24
Other Links: branch diff | manifest | tags
Context
2003-05-16
11:18:03
New COMPONENT argument. check-in: 29f5139e45 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:17:24
Stop writing out the sys stucture to the screen check-in: 6fc007a3ac user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:16:28
Fixed bug with multiports check-in: 303b24d0d7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/m/mtt2sys.m from [c8d8dac499] to [0ded97799e].

40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

  eval(sprintf("[A,B,C,D]=%s_sm(par);", Name)); # State matrices
  sys = ss2sys(A,B,C,D);	# Sys form
  if (rindex(version,"2.0."))	# stable (pre-list)
    eval(sprintf("[sys.inname,sys.outname,sys.stname]=%s_struc;", Name)); # Setup names
  else 				# development version
    eval(sprintf("[mtt_inname,mtt_outname,mtt_stname]=%s_struc;",Name)); # Setup names
    eval(sprintf("sys = syssetsignals(sys,\"in\", mtt_inname)"));
    eval(sprintf("sys = syssetsignals(sys,\"out\",mtt_outname)"));
    eval(sprintf("sys = syssetsignals(sys,\"st\", mtt_stname)"));
  endif
endfunction












|
|
|







40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

  eval(sprintf("[A,B,C,D]=%s_sm(par);", Name)); # State matrices
  sys = ss2sys(A,B,C,D);	# Sys form
  if (rindex(version,"2.0."))	# stable (pre-list)
    eval(sprintf("[sys.inname,sys.outname,sys.stname]=%s_struc;", Name)); # Setup names
  else 				# development version
    eval(sprintf("[mtt_inname,mtt_outname,mtt_stname]=%s_struc;",Name)); # Setup names
    eval(sprintf("sys = syssetsignals(sys,\"in\", mtt_inname);"));
    eval(sprintf("sys = syssetsignals(sys,\"out\",mtt_outname);"));
    eval(sprintf("sys = syssetsignals(sys,\"st\", mtt_stname);"));
  endif
endfunction






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