Differences From Artifact [c8d8dac499]:
- Executable file
mttroot/mtt/bin/trans/m/mtt2sys.m
— part of check-in
[19e7f14adf]
at
2002-08-21 18:01:01
on branch origin/master
— 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. (user: geraint@users.sourceforge.net, size: 1689) [annotate] [blame] [check-ins using] [more...]
To Artifact [0ded97799e]:
- Executable file mttroot/mtt/bin/trans/m/mtt2sys.m — part of check-in [e406ac78c8] at 2003-05-16 11:17:24 on branch origin/master — Stop writing out the sys stucture to the screen (user: gawthrop@users.sourceforge.net, size: 1692) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
40 41 42 43 44 45 46 | 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 | | | | | 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 |
︙ | ︙ |