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: 79bceb1078611055bac2fcf3b10bd4c365bad35b40792b14411b96f0892bb26b
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: a6be83f057 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:29:33
Use ss not sys2ss check-in: 79bceb1078 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:04:12
Fixes chi for cse representation. check-in: 5e9807a4da 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 ]