Differences From Artifact [c8d8dac499]:

To Artifact [0ded97799e]:


40
41
42
43
44
45
46
47
48
49



50
51
52
53
54
55
56
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)"));
    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 ]