Overview
Comment:Fixed [598316] mtt2sys broken on Octave-2.1.36.

Tests for Octave version that is not 2.0.x, uses setsyssignals() instead of
direct access to internal structure for renaming of system signals.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 1ff704c84097f0ec4ea312235c9ced125f585bb0f449a3070a660598ab765f5c
User & Date: geraint@users.sourceforge.net on 2002-08-21 18:01:01
Other Links: branch diff | manifest | tags
Context
2002-08-21
18:11:15
Replaced |x| with |{x}|. LaTeX now renders abs(fractions) correctly. check-in: a4984ed5f7 user: geraint@users.sourceforge.net tags: origin/master, trunk
18:01:01
Fixed [598316] mtt2sys broken on Octave-2.1.36.

Tests for Octave version that is not 2.0.x, uses setsyssignals() instead of
direct access to internal structure for renaming of system signals. check-in: 1ff704c840 user: geraint@users.sourceforge.net tags: origin/master, trunk

06:15:48
Null change (testing syncmail). check-in: d8f5e08140 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

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

36
37
38
39
40
41
42

43
44







45
46
47
48
49
50
51
36
37
38
39
40
41
42
43


44
45
46
47
48
49
50
51
52
53
54
55
56
57







+
-
-
+
+
+
+
+
+
+








  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
  
    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 ]