Xcos: fix NPE on dynamic palette
[scilab.git] / scilab / modules / scicos / palettes / Sinks.cosf
1 scs_m=scicos_diagram(..
2       version="scicos4.3",..
3       props=scicos_params(..
4             wpar=[600,450,0,0,600,450],..
5             Title=["Sinks","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="Sinks",..
34                        in_implicit=[],..
35                        out_implicit=[]),..
36               model=scicos_model(..
37                        sim="Sinks",..
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],["Sinks","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],[60,40],%t,0,..
61                        ["[1,1]";"1";"1";"1";"5";"1";"0"],0,[],0,[],..
62                        list(..
63                        ["fnt=xget(''font'')";
64                        "xset(''font'',ipar(1),ipar(2))";
65                        "str='' ''+part(''0'',ones(1,ipar(5)-ipar(6)-2))+''.''+part(''0'',ones(1,ipar(6)))";
66                        "str(1:model.in*model.in2)=str";
67                        "str=matrix(str,model.in,model.in2)";
68                        "rr=xstringl(orig(1),orig(2),str)";
69                        "xstring(orig(1)+max(0,(sz(1)-rr(3))/2),orig(2)+max(0,(sz(2)-rr(4))/2),str)";
70                        "xset(''font'',fnt(1),fnt(2))"],8),"","E",[]),..
71                        mlist(..
72                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
73                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
74                        "nzcross","nmode","equations"],"affich2",1,1,1,[],[],1,1,[],[],[-1;0;0;1;1;0],..
75                        list(),[],[1;1;1;1000;5;1;1],list(),"c",[],[%t,%f],"",0,0,list()),"AFFICH_m",..
76                        list()),..
77                        mlist(["Block","graphics","model","gui","doc"],..
78                        mlist(..
79                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
80                        "id","in_implicit","out_implicit"],[90,0],[40,40],%t,0,..
81                        ["1 1";"1 3 5 7 9 11 13 15";"-1";"[]";"[]";"-1 -5";"1 5";"30 30";"20";"0";""],..
82                        [0;0],[],0,[],..
83                        list("xstringb(orig(1),orig(2),''MScope'',sz(1),sz(2),''fill'')",8),"",["E";"E"],..
84                        []),..
85                        mlist(..
86                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
87                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
88                        "nzcross","nmode","equations"],list("cmscope",4),[1;1],[1;1],[1;1],[],[],1,1,[],..
89                        [],[],list(),[0;30;30;-1;1;-5;5],[-1;2;20;-1;-1;-1;-1;1;1;1;3],list(),"c",[],..
90                        [%t,%f],"",0,0,list()),"CMSCOPE",list()),..
91                        mlist(["Block","graphics","model","gui","doc"],..
92                        mlist(..
93                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
94                        "id","in_implicit","out_implicit"],[160,0],[40,40],%t,0,..
95                        ["1";"4";"1";"-1";"[]";"[600;400]";"-15";"15";"-15";"15";"2"],[0;0],[],0,[],..
96                        list(..
97                        ["thick=xget(''thickness'');xset(''thickness'',2);";
98                        "t=(0:0.2:2*%pi)'';";
99                        "xx=orig(1)+(1/5+(cos(3*t)+1)*3/10)*sz(1);";
100                        "yy=orig(2)+(1/4.3+(sin(t+1)+1)*3/10)*sz(2);";
101                        "xpoly(xx,yy,''lines'');";
102                        "xset(''thickness'',thick)"],8),"",["E";"E"],[]),..
103                        mlist(..
104                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
105                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
106                        "nzcross","nmode","equations"],list("cscopxy",4),[1;1],[1;1],[1;1],[],[],1,1,[],..
107                        [],[],list(),[-15;15;-15;15],[-1;1;2;4;1;1;-1;-1;600;400;1],list(),"d",[],..
108                        [%f,%f],"",0,0,list()),"CSCOPXY",list()),..
109                        mlist(["Block","graphics","model","gui","doc"],..
110                        mlist(..
111                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
112                        "id","in_implicit","out_implicit"],[230,0],[60,40],%t,0,..
113                        ["1";"foo";"c  ";"2";"0"],0,[],0,[],..
114                        list(..
115                        ["txt=[''write to'';''C binary file''];";
116                        "xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'')"],8),"","E",[]),..
117                        mlist(..
118                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
119                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
120                        "nzcross","nmode","equations"],list("writec",2),1,[],1,[],[],1,1,[],[],..
121                        [-1;0;0;0;0;0],list(),[],[3;12;40;40;2;0;15;24;24],list(),"d",[],[%t,%f],"",0,0,..
122                        list()),"WRITEC_f",list()),..
123                        mlist(["Block","graphics","model","gui","doc"],..
124                        mlist(..
125                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
126                        "id","in_implicit","out_implicit"],[320,0],[40,40],%t,0,..
127                        ["1";"-4";"1";"-1";"[]";"[]";"-15";"15";"-15";"15";"2"],[0;0],[],0,[],..
128                        list(..
129                        ["thick=xget(''thickness'');xset(''thickness'',2);";
130                        "t=(0:0.3:2*%pi)'';";
131                        "xx=orig(1)+(1/5+(cos(2.2*t)+1)*3/10)*sz(1);";
132                        "yy=orig(2)+(1/4.3+(sin(t)+1)*3/10)*sz(2);";
133                        "xpoly(xx,yy,''lines'');";
134                        "xset(''thickness'',thick);"],8),"",["E";"E"],[]),..
135                        mlist(..
136                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
137                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
138                        "nzcross","nmode","equations"],list("canimxy",4),[1;1],[1;1],[1;1],[],[],1,1,[],..
139                        [],[],list(),[-15;15;-15;15],[-1;1;2;-4;1;0;-1;-1;-1;-1;1],list(),"d",[],[%f,%f],..
140                        "",0,0,list()),"CANIMXY",list()),..
141                        mlist(["Block","graphics","model","gui","doc"],..
142                        mlist(..
143                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
144                        "id","in_implicit","out_implicit"],[390,0],[40,40],%t,0,..
145                        ["1 3 5 7 9 11 13 15";"-1";"[]";"[600;400]";"-15";"15";"30";"20";"0";""],0,[],0,..
146                        [],..
147                        list(..
148                        ["thick=xget(''thickness'');xset(''thickness'',2);";
149                        "xrect(orig(1)+sz(1)/10,orig(2)+(1-1/10)*sz(2),sz(1)*8/10,sz(2)*8/10);";
150                        "xx=[orig(1)+sz(1)/5,orig(1)+sz(1)/5;";
151                        "orig(1)+(1-1/4)*sz(1),orig(1)+sz(1)/5];";
152                        "yy=[orig(2)+sz(2)/5,orig(2)+sz(2)/5;";
153                        "orig(2)+sz(2)/5,orig(2)+(1-1/3)*sz(2)];";
154                        "xarrows(xx,yy);";
155                        "t=(0:0.3:2*%pi)'';";
156                        "xx=orig(1)+(1/5+3*t/(10*%pi))*sz(1);";
157                        "yy=orig(2)+(1/4.3+(sin(t)+1)*3/10)*sz(2);";
158                        "xpoly(xx,yy,''lines'');";
159                        "xset(''thickness'',thick)"],8),"","E",[]),..
160                        mlist(..
161                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
162                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
163                        "nzcross","nmode","equations"],list("cscope",4),-1,1,1,[],[],1,1,[],[],[],list(),..
164                        [0;-15;15;30],[-1;1;20;1;3;5;7;9;11;13;15;-1;-1;600;400],list(),"c",[],[%t,%f],..
165                        "",0,0,list()),"CSCOPE",list()),..
166                        mlist(["Block","graphics","model","gui","doc"],..
167                        mlist(..
168                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
169                        "id","in_implicit","out_implicit"],[0,70],[20,20],%t,0,"1",0,[],[],[],..
170                        list("prt=string(model.ipar);xstringb(orig(1),orig(2),prt,sz(1),sz(2))",8),"",..
171                        "I",[]),..
172                        mlist(..
173                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
174                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
175                        "nzcross","nmode","equations"],"outimpl",-1,1,1,[],[],1,[],[],[],[],list(),[],1,..
176                        list(),"c",[],[%f,%f],"",0,0,..
177                        tlist(["modelica","model","inputs","outputs","parameters"],"PORT","n",[],..
178                        list([],list()))),"OUTIMPL_f",list()),..
179                        mlist(["Block","graphics","model","gui","doc"],..
180                        mlist(..
181                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
182                        "id","in_implicit","out_implicit"],[50,70],[20,30],%t,0,"1",[],[],0,[],..
183                        list(" ",8),"",[],[]),..
184                        mlist(..
185                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
186                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
187                        "nzcross","nmode","equations"],"output",[],[],1,[],[],1,1,[],[],[],list(),[],1,..
188                        list(),"d",[],[%f,%f],"",0,0,list()),"CLKOUTV_f",list()),..
189                        mlist(["Block","graphics","model","gui","doc"],..
190                        mlist(..
191                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
192                        "id","in_implicit","out_implicit"],[100,70],[40,40],%t,0,..
193                        ["1";"1";"-1";"[]";"[600;400]";"30"],[],[],0,[],..
194                        list(..
195                        ["thick=xget(''thickness'');xset(''thickness'',2);";
196                        "xrect(orig(1)+sz(1)/10,orig(2)+(1-1/10)*sz(2),sz(1)*8/10,sz(2)*8/10);";
197                        "xx=[orig(1)+sz(1)/5,orig(1)+sz(1)/5;";
198                        "orig(1)+(1-1/5)*sz(1),orig(1)+sz(1)/5];";
199                        "yy=[orig(2)+sz(2)/5,orig(2)+sz(2)/5;";
200                        "orig(2)+sz(2)/5,orig(2)+(1-1/5)*sz(2)];";
201                        "xarrows(xx,yy);";
202                        "t=(0:0.3:2*%pi)'';";
203                        "xx=orig(1)+(1/5+3*t/(10*%pi))*sz(1);";
204                        "yy=orig(2)+(1/4.3+(sin(t)+1)*3/10)*sz(2);";
205                        "xpoly(xx,yy,''lines'');";
206                        "xset(''thickness'',thick);"],8),"",[],[]),..
207                        mlist(..
208                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
209                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
210                        "nzcross","nmode","equations"],list("cevscpe",4),[],[],1,[],[],1,1,[],[],[],..
211                        list(),30,[-1;1;1;-1;-1;600;400],list(),"d",[],[%f,%f],"",0,0,list()),..
212                        "CEVENTSCOPE",list()),..
213                        mlist(["Block","graphics","model","gui","doc"],..
214                        mlist(..
215                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
216                        "id","in_implicit","out_implicit"],[170,70],[20,20],%t,0,"1",0,[],[],[],..
217                        list(" ",8),"","E",[]),..
218                        mlist(..
219                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
220                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
221                        "nzcross","nmode","equations"],"output",-1,-2,-1,[],[],1,[],[],[],[],list(),[],1,..
222                        list(),"c",[],[%f,%f],"",0,0,list()),"OUT_f",list()),..
223                        mlist(["Block","graphics","model","gui","doc"],..
224                        mlist(..
225                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
226                        "id","in_implicit","out_implicit"],[220,70],[60,40],%t,0,..
227                        ["1";"foo";"(7(e10.3,1x))";"2"],0,[],0,[],..
228                        list(..
229                        ["txt=[''write to'';''output file''];";
230                        "xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'')"],8),"","E",[]),..
231                        mlist(..
232                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
233                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
234                        "nzcross","nmode","equations"],"writef",1,[],1,[],[],1,1,[],[],[-1;0;0;0;0;0],..
235                        list(),[],[3;13;0;2;15;24;24;41;7;41;14;1;0;51;3;52;1;33;42;42],list(),"d",[],..
236                        [%t,%f],"",0,0,list()),"WFILE_f",list()),..
237                        mlist(["Block","graphics","model","gui","doc"],..
238                        mlist(..
239                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
240                        "id","in_implicit","out_implicit"],[310,70],[40,40],%t,0,..
241                        ["1 3 5 7 9 11 13 15";"-1";"[]";"[600;400]";"-15";"15";"30";"2";"1"],[],[],0,[],..
242                        list(..
243                        ["thick=xget(''thickness'');xset(''thickness'',2);";
244                        "xrect(orig(1)+sz(1)/10,orig(2)+(1-1/10)*sz(2),sz(1)*8/10,sz(2)*8/10);";
245                        "xx=[orig(1)+sz(1)/5,orig(1)+sz(1)/5;";
246                        "orig(1)+(1-1/4)*sz(1),orig(1)+sz(1)/5];";
247                        "yy=[orig(2)+sz(2)/5,orig(2)+sz(2)/5;";
248                        "orig(2)+sz(2)/5,orig(2)+(1-1/3)*sz(2)];";
249                        "xarrows(xx,yy);";
250                        "t=(0:0.3:2*%pi)'';";
251                        "xx=orig(1)+(1/5+3*t/(10*%pi))*sz(1);";
252                        "yy=orig(2)+(1/4.3+(sin(t)+1)*3/10)*sz(2);";
253                        "xpoly(xx,yy,''lines'');";
254                        "xset(''thickness'',thick)"],8),"",[],[]),..
255                        mlist(..
256                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
257                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
258                        "nzcross","nmode","equations"],list("cfscope",4),[],[],1,[],[],1,1,[],[],[],..
259                        list(),[0;-15;15;30],[-1;1;2;1;3;5;7;9;11;13;15;-1;-1;600;400;1;1],list(),"c",[],..
260                        [%t,%f],"",0,0,list()),"CFSCOPE",list()),..
261                        mlist(["Block","graphics","model","gui","doc"],..
262                        mlist(..
263                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
264                        "id","in_implicit","out_implicit"],[380,70],[60,40],%t,0,["2";"0"],0,[],0,[],..
265                        list(..
266                        ["txt=[''write AU to'';''/dev/audio''];";
267                        "xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'')"],8),"","E",[]),..
268                        mlist(..
269                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
270                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
271                        "nzcross","nmode","equations"],list("writeau",2),1,[],1,[],[],1,1,[],[],..
272                        [-1;0;0;0;0;0],list(),[],[10;30;12;40;2;0;48;13;14;31;48;10;30;13;18;24],list(),..
273                        "d",[],[%t,%f],"",0,0,list()),"WRITEAU_f",list()),..
274                        mlist(["Block","graphics","model","gui","doc"],..
275                        mlist(..
276                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
277                        "id","in_implicit","out_implicit"],[0,140],[40,40],%t,0,..
278                        ["1";
279                        "1 2 3 4 5 6 7 13";
280                        "1 1 1 1 1 1 1 1";
281                        "-1";
282                        "[]";
283                        "[600;400]";
284                        "-15 15";
285                        "-15 15";
286                        "-15 15";
287                        "50 280";
288                        "2"],[0;0;0],[],0,[],..
289                        list(..
290                        ["thick=xget(''thickness'');xset(''thickness'',2);";
291                        "t=(0:0.2:2*%pi)'';";
292                        "xx=orig(1)+(1/5+(cos(3*t)+1)*3/10)*sz(1);";
293                        "yy=orig(2)+(1/4.3+(sin(t+1)+1)*3/10)*sz(2);";
294                        "xpoly(xx,yy,''lines'');";
295                        "xset(''thickness'',thick)"],8),"",["E";"E";"E"],[]),..
296                        mlist(..
297                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
298                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
299                        "nzcross","nmode","equations"],list("cscopxy3d",4),[1;1;1],[1;1;1],[1;1;1],[],[],..
300                        1,1,[],[],[],list(),[-15;15;-15;15;-15;15;50;280],..
301                        [-1;8;2;1;2;3;4;5;6;7;13;1;1;1;1;1;1;1;1;8;-1;-1;600;400;1],list(),"d",[],..
302                        [%f,%f],"",0,0,list()),"CSCOPXY3D",list()),..
303                        mlist(["Block","graphics","model","gui","doc"],..
304                        mlist(..
305                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
306                        "id","in_implicit","out_implicit"],[70,140],[40,40],%t,0,..
307                        ["1";
308                        "1 2 3 4 5 6 7 13";
309                        "1 1 1 1 1 1 1 1";
310                        "-1";
311                        "[]";
312                        "[]";
313                        "-15 15";
314                        "-15 15";
315                        "-15 15";
316                        "50 280";
317                        "2"],[0;0;0],[],0,[],..
318                        list(..
319                        ["thick=xget(''thickness'');xset(''thickness'',2);";
320                        "t=(0:0.3:2*%pi)'';";
321                        "xx=orig(1)+(1/5+(cos(2.2*t)+1)*3/10)*sz(1);";
322                        "yy=orig(2)+(1/4.3+(sin(t)+1)*3/10)*sz(2);";
323                        "xpoly(xx,yy,''lines'');";
324                        "xset(''thickness'',thick);"],8),"",["E";"E";"E"],[]),..
325                        mlist(..
326                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
327                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
328                        "nzcross","nmode","equations"],list("canimxy3d",4),[1;1;1],[1;1;1],[1;1;1],[],[],..
329                        1,1,[],[],[],list(),[-15;15;-15;15;-15;15;50;280],..
330                        [-1;8;2;1;2;3;4;5;6;7;13;1;1;1;1;1;1;1;1;8;-1;-1;-1;-1;1],list(),"d",[],[%f,%f],..
331                        "",0,0,list()),"CANIMXY3D",list()),..
332                        mlist(["Block","graphics","model","gui","doc"],..
333                        mlist(..
334                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
335                        "id","in_implicit","out_implicit"],[140,140],[40,40],%t,0,..
336                        ["jetcolormap(25)";"0";"100"],0,[],0,[],..
337                        list("xstringb(orig(1),orig(2),''Mat. View'',sz(1),sz(2),''fill'')",8),"","E",[]),..
338                        mlist(..
339                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
340                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
341                        "nzcross","nmode","equations"],list("cmatview",4),-1,-2,1,[],[],1,1,[],[],[],..
342                        list(),..
343                        [0.24;1;0;0;0;0;0;0;0;0;0;0.02;0.18;0.34;0.5;0.66;0.82;0.98;1;1;1;1;1;1;0.9;
344                        0.74;0.58;0;0;0;0.06;0.22;0.38;0.54;0.7;0.86;1;1;1;1;1;1;1;0.86;0.7;0.54;0.38;
345                        0.22;0.06;0;0;0;0.58;0.74;0.9;1;1;1;1;1;1;0.98;0.82;0.66;0.5;0.34;0.18;0.02;0;
346                        0;0;0;0;0;0;0;0],[0;100;25],list(),"c",[],[%t,%f],"",0,0,list()),"CMATVIEW",..
347                        list()),..
348                        mlist(["Block","graphics","model","gui","doc"],..
349                        mlist(..
350                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
351                        "id","in_implicit","out_implicit"],[210,140],[40,40],%t,0,..
352                        ["-1";"-1";"jetcolormap(25)";"0";"100"],0,[],0,[],..
353                        list("xstringb(orig(1),orig(2),''Mat. 3D'',sz(1),sz(2),''fill'')",8),"","E",[]),..
354                        mlist(..
355                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
356                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
357                        "nzcross","nmode","equations"],list("cmat3d",4),-1,-2,1,[],[],1,1,[],[],[],..
358                        list(),..
359                        [0;0;0;0;0;0;0;0;0;0.02;0.18;0.34;0.5;0.66;0.82;0.98;1;1;1;1;1;1;0.9;0.74;0.58;
360                        0;0;0;0.06;0.22;0.38;0.54;0.7;0.86;1;1;1;1;1;1;1;0.86;0.7;0.54;0.38;0.22;0.06;
361                        0;0;0;0.58;0.74;0.9;1;1;1;1;1;1;0.98;0.82;0.66;0.5;0.34;0.18;0.02;0;0;0;0;0;0;
362                        0;0;0;-1;-1],[0;100;25;1;1],list(),"c",[],[%t,%f],"",0,0,list()),"CMAT3D",list()),..
363                        mlist(["Block","graphics","model","gui","doc"],..
364                        mlist(..
365                        ["graphics","orig","sz","flip","theta","exprs","pin","pout","pein","peout","gr_i",..
366                        "id","in_implicit","out_implicit"],[280,140],[70,40],%t,0,["128","A","0"],0,[],0,..
367                        [],..
368                        list(..
369                        ["xstringb(orig(1),orig(2),''To workspace'',sz(1),sz(2),''fill'')";
370                        "txt=varnam;";
371                        "style=5;";
372                        "rectstr=stringbox(txt,orig(1),orig(2),0,style,1);";
373                        "if ~exists(''%zoom'') then %zoom=1, end;";
374                        "w=(rectstr(1,3)-rectstr(1,2))*%zoom;";
375                        "h=(rectstr(2,2)-rectstr(2,4))*%zoom;";
376                        "xstringb(orig(1)+sz(1)/2-w/2,orig(2)-h-4,txt,w,h,''fill'');";
377                        "e=gce();";
378                        "e.font_style=style;"],8),"","E",[]),..
379                        mlist(..
380                        ["model","sim","in","in2","intyp","out","out2","outtyp","evtin","evtout","state",..
381                        "dstate","odstate","rpar","ipar","opar","blocktype","firing","dep_ut","label",..
382                        "nzcross","nmode","equations"],list("tows_c",4),-1,-2,-1,[],[],1,1,[],[],[],..
383                        list(),[],[128;1;-10],list(),"d",[],[%f,%f],"",0,0,list()),"TOWS_c",list())),"",..
384                        list()),..
385                        ipar=[],..
386                        opar=list(),..
387                        blocktype="h",..
388                        firing=[],..
389                        dep_ut=[%f,%f],..
390                        label="",..
391                        nzcross=0,..
392                        nmode=0,..
393                        equations=list()),..
394               doc=list())