Scicos palettes: fix Linear.cosf
[scilab.git] / scilab / modules / scicos / palettes / Linear.cosf
1 scs_m=scicos_diagram(..
2       version="scicos4.3",..
3       props=scicos_params(..
4             wpar=[600,450,0,0,600,450],..
5             Title=["Linear","SCI/modules/scicos/palettes/"],..
6             tol=[0.000001,0.000001,1.000D-10,100001,0,0],..
7             tf=100000,..
8             context=[],..
9             void1=[],..
10             options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],..
11             list([4,1,10,1],[4,1,2,1]),[0.8,0.8,0.8]),..
12             void2=[],..
13             void3=[],..
14             doc=list()))
15 scs_m.objs(1)=scicos_block(..
16               gui="PAL_f",..
17               graphics=scicos_graphics(..
18                        orig=[0,0],..
19                        sz=[40,40],..
20                        flip=%t,..
21                        theta=0,..
22                        exprs=[],..
23                        pin=[],..
24                        pout=[],..
25                        pein=[],..
26                        peout=[],..
27                        gr_i=list(..
28                        ["thick=xget(''thickness'');xset(''thickness'',2);";
29                        "xx=orig(1)+      [1 3 5 1 3 5 1 3 5]*(sz(1)/7);";
30                        "yy=orig(2)+sz(2)-[1 1 1 4 4 4 7 7 7]*(sz(2)/10);";
31                        "xrects([xx;yy;[sz(1)/7;sz(2)/5]*ones(1,9)]);";
32                        "xset(''thickness'',thick)"],8),..
33                        id="Linear",..
34                        in_implicit=[],..
35                        out_implicit=[]),..
36               model=scicos_model(..
37                        sim="Linear",..
38                        in=[],..
39                        in2=[],..
40                        intyp=1,..
41                        out=[],..
42                        out2=[],..
43                        outtyp=1,..
44                        evtin=[],..
45                        evtout=[],..
46                        state=[],..
47                        dstate=[],..
48                        odstate=list(),..
49                        rpar=mlist(["diagram","props","objs","version","contrib"],..
50                        tlist(..
51                        ["params","wpar","title","tol","tf","context","void1","options","void2","void3",..
52                        "doc"],[600,450,0,0,600,450],["Linear","SCI/modules/scicos/palettes/"],..
53                        [0.000001,0.000001,1.000D-10,100001,0,0],100000,[],[],..
54                        tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],..
55                        list([4,1,10,1],[4,1,2,1]),[0.8,0.8,0.8]),[],[],list()),..
56                        list(..
57                        mlist(["Block","graphics","model","gui","doc"],..
58                        mlist(..
59                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
60                        "id","in_implicit","out_implicit"],[0,0],[50,50],%t,0,["1";"1+z"],0,0,0,[],..
61                        list(..
62                        ["xstringb(orig(1),orig(2),[''num(z)'';''den(z)''],sz(1),sz(2),''fill'')";
63                        "xpoly([orig(1)+.1*sz(1),orig(1)+.9*sz(1)],[1,1]*(orig(2)+sz(2)/2))"],8),"","E",..
64                        "E"),..
65                        mlist(..
66                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
67                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
68                        "nzcross","nmode","equations"],list("dsslti4",4),1,[],1,1,[],1,1,[],[],0,list(),..
69                        [-1;1;1;0],[],list(),"d",[],[%f,%f],"",0,0,list()),"DLR",list()),..
70                        mlist(["Block","graphics","model","gui","doc"],..
71                        mlist(..
72                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
73                        "id","in_implicit","out_implicit"],[80,0],[60,40],%t,0,["0";"1";"1";"0";"0"],..
74                        [0;0],0,0,[],..
75                        list(..
76                        ["txt=[''Jump'';''(A,B,C,D)''];";
77                        "xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'')"],8),"",["E";"E"],"E"),..
78                        mlist(..
79                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
80                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
81                        "nzcross","nmode","equations"],list("tcslti4",4),[1;1],[],1,1,[],1,1,[],0,[],..
82                        list(),[0;1;1;0],[],list(),"c",[],[%f,%t],"",0,0,list()),"TCLSS",list()),..
83                        mlist(["Block","graphics","model","gui","doc"],..
84                        mlist(..
85                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
86                        "id","in_implicit","out_implicit"],[170,0],[40,40],%t,0,["0";"0"],0,0,0,[],..
87                        list("xstringb(orig(1),orig(2),''1/z'',sz(1),sz(2),''fill'')",8),"","E","E"),..
88                        mlist(..
89                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
90                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
91                        "nzcross","nmode","equations"],list("dollar4",4),1,[],1,1,[],1,1,[],[],0,list(),..
92                        [],[],list(),"d",[],[%f,%f],"",0,0,list()),"DOLLAR_m",list()),..
93                        mlist(["Block","graphics","model","gui","doc"],..
94                        mlist(..
95                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
96                        "id","in_implicit","out_implicit"],[240,0],[60,40],%t,0,[],[],[],[],[],..
97                        list("xstringb(orig(1),orig(2),[''DUMMY'';''CLSS''],sz(1),sz(2),''fill'');",8),..
98                        "",[],[]),..
99                        mlist(..
100                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
101                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
102                        "nzcross","nmode","equations"],"cdummy",[],[],1,[],[],1,[],[],0,[],list(),[],[],..
103                        list(),"c",[],[%f,%t],"",0,0,list()),"CLINDUMMY_f",list()),..
104                        mlist(["Block","graphics","model","gui","doc"],..
105                        mlist(..
106                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
107                        "id","in_implicit","out_implicit"],[330,0],[80,40],%t,0,["-1";"1";"1";"0";"0"],0,..
108                        0,0,[],..
109                        list(..
110                        ["txt=[''x+=Ax+Bu'';''y=Cx+Du''];";
111                        "xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'');"],8),"","E","E"),..
112                        mlist(..
113                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
114                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
115                        "nzcross","nmode","equations"],list("dsslti4",4),1,[],1,1,[],1,1,[],[],0,list(),..
116                        [-1;1;1;0],[],list(),"d",[],[%f,%f],"",0,0,list()),"DLSS",list()),..
117                        mlist(["Block","graphics","model","gui","doc"],..
118                        mlist(..
119                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
120                        "id","in_implicit","out_implicit"],[0,80],[50,50],%t,0,"0;0;0;0;0;0;0;0;0;0",0,0,..
121                        0,[],..
122                        list(..
123                        ["dly=model.rpar;";
124                        "txt=[''Shift'';''Register'';string(dly)];";
125                        "xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'')"],8),"","E","E"),..
126                        mlist(..
127                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
128                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
129                        "nzcross","nmode","equations"],list("delay4",4),1,[],1,1,[],1,1,[],[],..
130                        [0;0;0;0;0;0;0;0;0;0],list(),[],[],list(),"d",[],[%f,%f],"",0,0,list()),..
131                        "REGISTER",list()),..
132                        mlist(["Block","graphics","model","gui","doc"],..
133                        mlist(..
134                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
135                        "id","in_implicit","out_implicit"],[80,80],[60,40],%t,0,["1";"0";"1024"],0,0,[],..
136                        [],..
137                        list(..
138                        ["txt=[''Continuous'';''Fix Delay''];";
139                        "xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'');"],8),"","E","E"),..
140                        mlist(..
141                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
142                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
143                        "nzcross","nmode","equations"],list("time_delay",4),1,[],1,1,[],1,[],[],[],[],..
144                        list(),[1,0],1024,list(),"x",[],[%f,%f],"",0,0,list()),"TIME_DELAY",list()),..
145                        mlist(["Block","graphics","model","gui","doc"],..
146                        mlist(..
147                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
148                        "id","in_implicit","out_implicit"],[170,80],[50,50],%t,0,["1";"1+s"],0,0,[],[],..
149                        list(..
150                        ["xstringb(orig(1),orig(2),[''num(s)'';''den(s)''],sz(1),sz(2),''fill'')";
151                        "xpoly([orig(1)+.1*sz(1),orig(1)+.9*sz(1)],[1,1]*(orig(2)+sz(2)/2))"],8),"","E",..
152                        "E"),..
153                        mlist(..
154                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
155                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
156                        "nzcross","nmode","equations"],list("csslti4",4),1,[],1,1,[],1,[],[],0,[],list(),..
157                        [-1;1;1;0],[],list(),"c",[],[%f,%t],"",0,0,list()),"CLR",list()),..
158                        mlist(["Block","graphics","model","gui","doc"],..
159                        mlist(..
160                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
161                        "id","in_implicit","out_implicit"],[250,80],[40,40],%t,0,"1",0,0,[],[],..
162                        list("",8),"","E","E"),..
163                        mlist(..
164                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
165                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
166                        "nzcross","nmode","equations"],list("gainblk",4),-1,-2,1,-1,-2,1,[],[],[],[],..
167                        list(),1,[],list(),"c",[],[%t,%f],"",0,0,list()),"GAINBLK",list()),..
168                        mlist(["Block","graphics","model","gui","doc"],..
169                        mlist(..
170                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
171                        "id","in_implicit","out_implicit"],[320,80],[40,40],%t,0,"1",0,0,0,[],..
172                        list("xstringb(orig(1),orig(2),''S/H'',sz(1),sz(2),''fill'')",8),"","E","E"),..
173                        mlist(..
174                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
175                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
176                        "nzcross","nmode","equations"],list("samphold4_m",4),-1,-2,1,-1,-2,1,1,[],[],[],..
177                        list(),[],[],list(),"d",[],[%t,%f],"",0,0,list()),"SAMPHOLD_m",list()),..
178                        mlist(["Block","graphics","model","gui","doc"],..
179                        mlist(..
180                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
181                        "id","in_implicit","out_implicit"],[390,80],[50,50],%t,0,["1";"0";"1024"],[0;0],..
182                        0,[],[],..
183                        list(..
184                        ["txt=[''Variable'';''delay''];";
185                        "xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'');"],8),"",["E";"E"],"E"),..
186                        mlist(..
187                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
188                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
189                        "nzcross","nmode","equations"],list("variable_delay",4),[1;1],[],1,1,[],1,[],[],..
190                        [],[],list(),[1,0],1024,list(),"d",[],[%f,%f],"",0,0,list()),"VARIABLE_DELAY",..
191                        list()),..
192                        mlist(["Block","graphics","model","gui","doc"],..
193                        mlist(..
194                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
195                        "id","in_implicit","out_implicit"],[0,160],[80,40],%t,0,["-1";"1";"1";"0";"0"],0,..
196                        0,[],[],..
197                        list(..
198                        ["txt=[''xd=Ax+Bu'';''y=Cx+Du''];";
199                        "xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'');"],8),"","E","E"),..
200                        mlist(..
201                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
202                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
203                        "nzcross","nmode","equations"],list("csslti4",4),1,[],1,1,[],1,[],[],0,[],list(),..
204                        [-1;1;1;0],[],list(),"c",[],[%f,%t],"",0,0,list()),"CLSS",list()),..
205                        mlist(["Block","graphics","model","gui","doc"],..
206                        mlist(..
207                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
208                        "id","in_implicit","out_implicit"],[110,160],[40,60],%t,0,"[1;-1]",[0;0],0,[],[],..
209                        list(..
210                        ["[x,y,typ]=standard_inputs(o) ";
211                        "dd=sz(1)/8,de=0,";
212                        "if ~arg1.graphics.flip then dd=6*sz(1)/8,de=-sz(1)/8,end";
213                        "for k=1:size(x,''*'')";
214                        "if size(sgn,1)>1 then";
215                        "  if sgn(k)>0 then";
216                        "    xstring(orig(1)+dd,y(k)-4,''+'')";
217                        "  else";
218                        "    xstring(orig(1)+dd,y(k)-4,''-'')";
219                        "  end";
220                        "end";
221                        "end";
222                        "xx=sz(1)*[.8 .4 0.75 .4 .8]+orig(1)+de";
223                        "yy=sz(2)*[.8 .8 .5 .2 .2]+orig(2)";
224                        "xpoly(xx,yy,''lines'')"],8),"",["E";"E"],"E"),..
225                        mlist(..
226                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
227                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
228                        "nzcross","nmode","equations"],list("summation",4),[-1;-1],[-2;-2],1,-1,-2,1,[],..
229                        [],[],[],list(),[],[1;-1],list(),"c",[],[%t,%f],"",0,0,list()),"SUMMATION",..
230                        list()),..
231                        mlist(["Block","graphics","model","gui","doc"],..
232                        mlist(..
233                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
234                        "id","in_implicit","out_implicit"],[180,160],[40,40],%t,0,["0";"0";"0";"1";"-1"],..
235                        0,0,[],[],..
236                        list(..
237                        ["thick=xget(''thickness'')";
238                        "pat=xget(''pattern'')";
239                        "fnt=xget(''font'')";
240                        "xpoly(orig(1)+[0.7;0.62;0.549;0.44;0.364;0.291]*sz(1),orig(2)+[0.947;0.947;0.884;0.321;0.255;0.255]*sz(2),''lines'')";
241                        "txt=''1/s'';";
242                        "style=5;";
243                        "rectstr=stringbox(txt,orig(1),orig(2),0,style,1);";
244                        "if ~exists(''%zoom'') then %zoom=1, end;";
245                        "w=(rectstr(1,3)-rectstr(1,2))*%zoom;";
246                        "h=(rectstr(2,2)-rectstr(2,4))*%zoom;";
247                        "xstringb(orig(1)+sz(1)/2-w/2,orig(2)-h-4,txt,w,h,''fill'');";
248                        "e=gce();";
249                        "e.font_style=style;";
250                        "xset(''thickness'',thick)";
251                        "xset(''pattern'',pat)";
252                        "xset(''font'',fnt(1),fnt(2))"],8),"","E","E"),..
253                        mlist(..
254                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
255                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
256                        "nzcross","nmode","equations"],list("integral_func",4),1,1,1,1,1,1,[],[],0,[],..
257                        list(),[],[],list(),"c",[],[%f,%t],"",0,0,list()),"INTEGRAL_m",list()),..
258                        mlist(["Block","graphics","model","gui","doc"],..
259                        mlist(..
260                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
261                        "id","in_implicit","out_implicit"],[250,160],[16.666667,16.666667],%t,0,[],..
262                        [0;0;0],0,[],[],..
263                        list(..
264                        ["rx=sz(1)*p/2;ry=sz(2)/2";
265                        "xsegs(orig(1)+rx*[1/2.3 1;2-1/2.3 1],orig(2)+ry*[1 2-1/2.3;1,1/2 .3],0)"],8),"",..
266                        ["E";"E";"E"],"E"),..
267                        mlist(..
268                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
269                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
270                        "nzcross","nmode","equations"],list("plusblk",2),[-1;-1;-1],[],1,-1,[],1,[],[],..
271                        [],[],list(),[],[],list(),"c",[],[%t,%f],"",0,0,list()),"SUM_f",list()),..
272                        mlist(["Block","graphics","model","gui","doc"],..
273                        mlist(..
274                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
275                        "id","in_implicit","out_implicit"],[296.66667,160],[40,40],%t,0,[],0,0,[],[],..
276                        list(..
277                        ["xstringb(orig(1),orig(2),'' du/dt   '',sz(1),sz(2),''fill'');";
278                        "txt=''s'';";
279                        "style=5;";
280                        "rectstr=stringbox(txt,orig(1),orig(2),0,style,1);";
281                        "if ~exists(''%zoom'') then %zoom=1, end;";
282                        "w=(rectstr(1,3)-rectstr(1,2))*%zoom;";
283                        "h=(rectstr(2,2)-rectstr(2,4))*%zoom;";
284                        "xstringb(orig(1)+sz(1)/2-w/2,orig(2)-h-4,txt,w,h,''fill'');";
285                        "e=gce();";
286                        "e.font_style=style;"],8),"","E","E"),..
287                        mlist(..
288                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
289                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
290                        "nzcross","nmode","equations"],list("deriv",4),-1,[],1,-1,[],1,[],[],[],[],..
291                        list(),[],[],list(),"x",[],[%t,%f],"",0,0,list()),"DERIV",list()),..
292                        mlist(["Block","graphics","model","gui","doc"],..
293                        mlist(..
294                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
295                        "id","in_implicit","out_implicit"],[366.66667,160],[40,40],%t,0,[],0,0,[],[],..
296                        list("xstringb(orig(1),orig(2),[''PID''],sz(1),sz(2),''fill'');",8),"","E","E"),..
297                        mlist(..
298                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
299                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
300                        "nzcross","nmode","equations"],"csuper",-1,-2,1,-1,-2,1,[],[],[],[],list(),..
301                        mlist(["diagram","props","objs","version","contrib"],..
302                        tlist(..
303                        ["params","wpar","title","tol","tf","context","void1","options","void2","void3",..
304                        "doc"],[600,450,0,0,600,450],"PID",[0.0001,0.000001,1.000D-10,100001,0,0],100000,..
305                        " ",[],..
306                        tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],..
307                        list([5,1],[4,1]),[0.8,0.8,0.8]),[],[],list()),..
308                        list(..
309                        mlist(["Block","graphics","model","gui","doc"],..
310                        mlist(..
311                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
312                        "id","in_implicit","out_implicit"],[318.304,183.11733],[40,40],%t,0,..
313                        ["0";"0";"0";"1";"-1"],7,9,[],[],..
314                        list(..
315                        ["thick=xget(''thickness'')";
316                        "pat=xget(''pattern'')";
317                        "fnt=xget(''font'')";
318                        "xpoly(orig(1)+[0.7;0.62;0.549;0.44;0.364;0.291]*sz(1),orig(2)+[0.947;0.947;0.884;0.321;0.255;0.255]*sz(2),''lines'')";
319                        "xset(''thickness'',thick)";
320                        "xset(''pattern'',pat)";
321                        "xset(''font'',fnt(1),fnt(2))"],8),"1/s","E","E"),..
322                        mlist(..
323                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
324                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
325                        "nzcross","nmode","equations"],list("integral_func",4),1,1,1,1,1,1,[],[],0,[],..
326                        list(),[],[],list(),"c",[],[%f,%t],"",0,0,list()),"INTEGRAL_m",list()),..
327                        mlist(["Block","graphics","model","gui","doc"],..
328                        mlist(..
329                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
330                        "id","in_implicit","out_implicit"],[387.97067,172.85067],[40,60],%t,0,..
331                        ["1";"[1;1;1]"],[10;9;11],19,[],[],..
332                        list(..
333                        ["[x,y,typ]=standard_inputs(o) ";
334                        "dd=sz(1)/8,de=0,";
335                        "if ~arg1.graphics.flip then dd=6*sz(1)/8,de=-sz(1)/8,end";
336                        "for k=1:size(x,''*'')";
337                        "if size(sgn,1)>1 then";
338                        "  if sgn(k)>0 then";
339                        "    xstring(orig(1)+dd,y(k)-4,''+'')";
340                        "  else";
341                        "    xstring(orig(1)+dd,y(k)-4,''-'')";
342                        "  end";
343                        "end";
344                        "end";
345                        "xx=sz(1)*[.8 .4 0.75 .4 .8]+orig(1)+de";
346                        "yy=sz(2)*[.8 .8 .5 .2 .2]+orig(2)";
347                        "xpoly(xx,yy,''lines'')"],8),"",["E";"E";"E"],"E"),..
348                        mlist(..
349                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
350                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
351                        "nzcross","nmode","equations"],list("summation",4),[-1;-1;-1],[-2;-2;-2],[1;1;1],..
352                        -1,-2,1,[],[],[],[],list(),[],[1;1;1],list(),"c",[],[%t,%f],"",0,0,list()),..
353                        "SUMMATION",list()),..
354                        mlist(["Block","graphics","model","gui","doc"],..
355                        mlist(..
356                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
357                        "id","in_implicit","out_implicit"],[321.23733,235.91733],[40,40],%t,0,"1",17,10,..
358                        [],[],list("",8),"","E","E"),..
359                        mlist(..
360                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
361                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
362                        "nzcross","nmode","equations"],list("gainblk",4),-1,-2,1,-1,-2,1,[],[],[],[],..
363                        list(),1,[],list(),"c",[],[%t,%f],"",0,0,list()),"GAINBLK",list()),..
364                        mlist(["Block","graphics","model","gui","doc"],..
365                        mlist(..
366                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
367                        "id","in_implicit","out_implicit"],[319.03733,135.45067],[40,40],%t,0,[],8,11,[],..
368                        [],list("xstringb(orig(1),orig(2),''  du/dt  '',sz(1),sz(2),''fill'');",8),"s",..
369                        "E","E"),..
370                        mlist(..
371                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
372                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
373                        "nzcross","nmode","equations"],list("deriv",4),-1,-2,1,-1,-2,1,[],[],[],[],..
374                        list(),[],[],list(),"x",[],[%t,%f],"",0,0,list()),"DERIV",list()),..
375                        mlist(["Block","graphics","model","gui","doc"],..
376                        mlist(..
377                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
378                        "id","in_implicit","out_implicit"],[255.23733,183.11733],[40,40],%t,0,"1",13,7,..
379                        [],[],list("",8),"","E","E"),..
380                        mlist(..
381                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
382                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
383                        "nzcross","nmode","equations"],list("gainblk",4),-1,-2,1,-1,-2,1,[],[],[],[],..
384                        list(),1,[],list(),"c",[],[%t,%f],"",0,0,list()),"GAINBLK",list()),..
385                        mlist(["Block","graphics","model","gui","doc"],..
386                        mlist(..
387                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
388                        "id","in_implicit","out_implicit"],[255.23733,135.45067],[40,40],%t,0,"1",14,8,..
389                        [],[],list("",8),"","E","E"),..
390                        mlist(..
391                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
392                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
393                        "nzcross","nmode","equations"],list("gainblk",4),-1,-2,1,-1,-2,1,[],[],[],[],..
394                        list(),1,[],list(),"c",[],[%t,%f],"",0,0,list()),"GAINBLK",list()),..
395                        mlist(["Link","xx","yy","id","thick","ct","from","to"],[303.80876;309.73257],..
396                        [203.11733;203.11733],"drawlink",[0,0],[1,1],[5,1,0],[1,1,1]),..
397                        mlist(["Link","xx","yy","id","thick","ct","from","to"],[303.80876;310.4659],..
398                        [155.45067;155.45067],"drawlink",[0,0],[1,1],[6,1,0],[4,1,1]),..
399                        mlist(["Link","xx","yy","id","thick","ct","from","to"],[366.87543;379.39924],..
400                        [203.11733;202.85067],"drawlink",[0,0],[1,1],[1,1,0],[2,2,1]),..
401                        mlist(["Link","xx","yy","id","thick","ct","from","to"],..
402                        [369.80876;379.39924;379.39924],[255.91733;255.91733;217.85067],"drawlink",[0,0],..
403                        [1,1],[3,1,0],[2,1,1]),..
404                        mlist(["Link","xx","yy","id","thick","ct","from","to"],..
405                        [367.60876;379.39924;379.39924],[155.45067;155.45067;187.85067],"drawlink",[0,0],..
406                        [1,1],[4,1,0],[2,3,1]),..
407                        mlist(["Block","graphics","model","gui","doc"],..
408                        mlist(..
409                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
410                        "id","in_implicit","out_implicit"],[234.704;203.11733],[0.3333333,0.3333333],%t,..
411                        0,[],16,[13;14],[],[],list([],8),"","E",["E";"E";"E"]),..
412                        mlist(..
413                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
414                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
415                        "nzcross","nmode","equations"],"lsplit",-1,[],1,[-1;-1;-1],[],1,[],[],[],[],..
416                        list(),[],[],list(),"c",[],[%t,%f],"",0,0,list()),"SPLIT_f",list()),..
417                        mlist(["Link","xx","yy","id","thick","ct","from","to"],[234.704;246.6659],..
418                        [203.11733;203.11733],"drawlink",[0,0],[1,1],[12,1,0],[5,1,1]),..
419                        mlist(["Link","xx","yy","id","thick","ct","from","to"],..
420                        [234.704;234.704;246.6659],[203.11733;155.45067;155.45067],"drawlink",[0,0],..
421                        [1,1],[12,2,0],[6,1,1]),..
422                        mlist(["Block","graphics","model","gui","doc"],..
423                        mlist(..
424                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
425                        "id","in_implicit","out_implicit"],[233.97067;203.11733],[0.3333333,0.3333333],..
426                        %t,0,[],21,[16;17],[],[],list([],8),"","E",["E";"E";"E"]),..
427                        mlist(..
428                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
429                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
430                        "nzcross","nmode","equations"],"lsplit",-1,[],1,[-1;-1;-1],[],1,[],[],[],[],..
431                        list(),[],[],list(),"c",[],[%t,%f],"",0,0,list()),"SPLIT_f",list()),..
432                        mlist(["Link","xx","yy","id","thick","ct","from","to"],[233.97067;234.704],..
433                        [203.11733;203.11733],"drawlink",[0,0],[1,1],[15,1,0],[12,1,1]),..
434                        mlist(["Link","xx","yy","id","thick","ct","from","to"],..
435                        [233.97067;233.97067;312.6659],[203.11733;255.91733;255.91733],"drawlink",[0,0],..
436                        [1,1],[15,2,0],[3,1,1]),..
437                        mlist(["Block","graphics","model","gui","doc"],..
438                        mlist(..
439                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
440                        "id","in_implicit","out_implicit"],[456.5421,192.85067],[20,20],%t,0,"1",19,[],..
441                        [],[],list(" ",8),"","E",[]),..
442                        mlist(..
443                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
444                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
445                        "nzcross","nmode","equations"],"output",-1,[],-1,[],[],1,[],[],[],[],list(),[],1,..
446                        list(),"c",[],[%f,%f],"",0,0,list()),"OUT_f",list()),..
447                        mlist(["Link","xx","yy","id","thick","ct","from","to"],[436.5421;456.5421],..
448                        [202.85067;202.85067],"drawlink",[0,0],[1,1],[2,1,0],[18,1,1]),..
449                        mlist(["Block","graphics","model","gui","doc"],..
450                        mlist(..
451                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
452                        "id","in_implicit","out_implicit"],[193.97067,193.11733],[20,20],%t,0,"1",[],21,..
453                        [],[],list(" ",8),"",[],"E"),..
454                        mlist(..
455                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
456                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
457                        "nzcross","nmode","equations"],"input",[],[],1,-1,[],-1,[],[],[],[],list(),[],1,..
458                        list(),"c",[],[%f,%f],"",0,0,list()),"IN_f",list()),..
459                        mlist(["Link","xx","yy","id","thick","ct","from","to"],[213.97067;233.97067],..
460                        [203.11733;203.11733],"drawlink",[0,0],[1,1],[20,1,0],[15,1,1])),"scicos4.2",..
461                        list()),[],list(),"h",%f,[%f,%f],"",0,0,list()),"PID",list()),..
462                        mlist(["Block","graphics","model","gui","doc"],..
463                        mlist(..
464                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
465                        "id","in_implicit","out_implicit"],[0,250],[40,40],%t,0,["0";"0"],0,0,[],[],..
466                        list("xstringb(orig(1),orig(2),'' s  '',sz(1),sz(2),''fill'');",8),"","E","E"),..
467                        mlist(..
468                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
469                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
470                        "nzcross","nmode","equations"],list("diffblk_c",10004),1,[],1,1,[],1,[],[],[0;0],..
471                        [],list(),[],[],list(),"c",[],[%f,%t],"",0,0,list()),"DIFF_c",list())),"",list()),..
472                        ipar=[],..
473                        opar=list(),..
474                        blocktype="h",..
475                        firing=[],..
476                        dep_ut=[%f,%f],..
477                        label="",..
478                        nzcross=0,..
479                        nmode=0,..
480                        equations=list()),..
481               doc=list())