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 |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
19e7f14adf0bac440718562a3d79db48 |
| User & Date: | geraint@users.sourceforge.net on 2002-08-21 18:01:01.000 |
| 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: b350f1a982 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 | |
| 06:15:48 | Null change (testing syncmail). check-in: d58e5e75f6 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 |
endif
eval(sprintf("[A,B,C,D]=%s_sm(par);", Name)); # State matrices
sys = ss2sys(A,B,C,D); # Sys form
| > | | > > > > > | 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
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
|