blob: d23001d0c74af5fdd4b33a7be75576a576988183 (
plain)
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
|
/* autogenerated from "macros/Threshold/NEGTOPOS_f.sci" */
function NEGTOPOS_f() {
NEGTOPOS_f.prototype.define = function NEGTOPOS_f() {
model = scicos_model();
model.sim = list("zcross",1);
model.nzcross = 1;
model.in1 = 1;
model.evtout = 1;
model.rpar = [[-1],[-1],[0],[-1]];
model.blocktype = "z";
model.firing = -1;
model.dep_ut = [true,false];
gr_i = [];
this.x = standard_define([2,2],model,[],gr_i);
return new BasicBlock(this.x);
}
NEGTOPOS_f.prototype.details = function NEGTOPOS_f() {
return this.x;
}
NEGTOPOS_f.prototype.get = function NEGTOPOS_f() {
var options = {
}
return options;
}
NEGTOPOS_f.prototype.set = function NEGTOPOS_f() {
this.x = arg1;
this.x.model.firing = -1;
return new BasicBlock(this.x);
}
}
|