1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
/* autogenerated from "macros/Misc/Extract_Activation.sci" */
function Extract_Activation() {
Extract_Activation.prototype.define = function Extract_Activation() {
var scs_m_1 = scicos_diagram();
scs_m_1.objs[1-1] = IFTHEL_f("define");
scs_m_1.objs[2-1] = CLKSOMV_f("define");
scs_m_1.objs[3-1] = IN_f("define");
scs_m_1.objs[4-1] = CLKOUTV_f("define");
scs_m_1.objs[5-1] = scicos_link();
scs_m_1.objs[6-1] = scicos_link();
scs_m_1.objs[7-1] = scicos_link();
scs_m_1.objs[8-1] = scicos_link();
var blk = scs_m_1.objs[1-1];
this.graphics = blk.graphics;
this.model = blk.model;
this.graphics.orig = new ScilabDouble([80,0]);
this.graphics.sz = new ScilabDouble([60,40]);
this.graphics.exprs = new ScilabDouble(["0"],["0"]);
this.model.evtin = new ScilabDouble([]);
this.model.nzcross = new ScilabDouble([0]);
this.model.nmode = new ScilabDouble([0]);
this.graphics.pin = new ScilabDouble([7]);
this.graphics.peout = new ScilabDouble([5],[6]);
blk.graphics = this.graphics;
blk.model = this.model;
scs_m_1.objs[1-1] = blk;
var blk = scs_m_1.objs[2-1];
this.graphics = blk.graphics;
this.model = blk.model;
this.graphics.orig = new ScilabDouble([80,-80]);
this.graphics.sz = new ScilabDouble([80,40]);
this.graphics.pein = new ScilabDouble([5],[6]);
this.graphics.peout = new ScilabDouble([8]);
blk.graphics = this.graphics;
blk.model = this.model;
scs_m_1.objs[2-1] = blk;
var blk = scs_m_1.objs[3-1];
this.graphics = blk.graphics;
this.model = blk.model;
this.graphics.orig = new ScilabDouble([0,10]);
this.graphics.sz = new ScilabDouble([20,20]);
this.graphics.exprs = new ScilabDouble(["1"]);
this.model.ipar = new ScilabDouble([1]);
this.graphics.pout = new ScilabDouble([7]);
blk.graphics = this.graphics;
blk.model = this.model;
scs_m_1.objs[3-1] = blk;
var blk = scs_m_1.objs[4-1];
this.graphics = blk.graphics;
this.model = blk.model;
this.graphics.orig = new ScilabDouble([110,-140]);
this.graphics.sz = new ScilabDouble([20,20]);
this.graphics.exprs = new ScilabDouble(["1"]);
this.model.ipar = new ScilabDouble([1]);
this.graphics.pein = new ScilabDouble([8]);
blk.graphics = this.graphics;
blk.model = this.model;
scs_m_1.objs[4-1] = blk;
var lnk = scs_m_1.objs[5-1];
lnk.ct = [5,-1];
lnk.from = [1,1,0];
lnk.to = [2,1,1];
scs_m_1.objs[5-1] = lnk;
var lnk = scs_m_1.objs[6-1];
lnk.ct = [5,-1];
lnk.from = [1,2,0];
lnk.to = [2,2,1];
scs_m_1.objs[6-1] = lnk;
var lnk = scs_m_1.objs[7-1];
lnk.from = [3,1,0];
lnk.to = [1,1,1];
scs_m_1.objs[7-1] = lnk;
var lnk = scs_m_1.objs[8-1];
lnk.ct = [5,-1];
lnk.from = [2,1,0];
lnk.to = [4,1,1];
scs_m_1.objs[8-1] = lnk;
blk={};
lnk={};
this.model = scicos_model();
this.model.sim = new ScilabString(["csuper"]);
this.model.in1 = new ScilabDouble([1]);
this.model.evtout = new ScilabDouble([1]);
this.model.rpar = scs_m_1;
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"Extract_Activation\",sz(1),sz(2));"]);
this.x = standard_define([3,2],this.model,[],this.gr_i);
return new BasicBlock(this.x);
}
Extract_Activation.prototype.details = function Extract_Activation() {
return this.x;
}
Extract_Activation.prototype.get = function Extract_Activation() {
var options = {
}
return options;
}
Extract_Activation.prototype.set = function Extract_Activation() {
this.x = arg1;
return new BasicBlock(this.x);
}
}
|