Overview
Comment:Use ss not sys2ss
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 7c9f228b8263fd0316c113aacfdbe2d4f424a5f5842be48816c8c81b5aea6f94
User & Date: gawthrop@users.sourceforge.net on 2005-09-07 18:29:33
Other Links: branch diff | manifest | tags
Context
2005-09-07
18:30:36
Updated for new PPP check-in: d744f43e99 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:29:33
Use ss not sys2ss check-in: 7c9f228b82 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:04:12
Fixes chi for cse representation. check-in: 00eaa350db user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

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

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
    endif

    if  exist(struc_name)!=2
      mtt(Name,"struc");	# Create state matrices
    endif

  endif
  


  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);"));







|
<
<

|







31
32
33
34
35
36
37
38


39
40
41
42
43
44
45
46
47
    endif

    if  exist(struc_name)!=2
      mtt(Name,"struc");	# Create state matrices
    endif

  endif
 


  eval(sprintf("[A,B,C,D]=%s_sm(par);", Name)); # State matrices
  sys = ss(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);"));


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