blob: 31ac840d4a9b335c94686a505925778c670ecc16 (
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
|
/* autogenerated from "macros/Linear/SAMPLEHOLD_f.sci" */
function SAMPLEHOLD_f() {
SAMPLEHOLD_f.prototype.define = function SAMPLEHOLD_f() {
in1 = -1;
this.model = scicos_model();
this.model.sim = new ScilabString("samphold");
this.model.in1 = new ScilabDouble(-1);
this.model.out = new ScilabDouble(-1);
this.model.evtin = new ScilabDouble(1);
this.model.blocktype = new ScilabString("d");
this.model.dep_ut = [true,false];
gr_i = [];
this.x = standard_define([2,2],this.model," ",gr_i);
return new BasicBlock(this.x);
}
SAMPLEHOLD_f.prototype.details = function SAMPLEHOLD_f() {
return this.x;
}
SAMPLEHOLD_f.prototype.get = function SAMPLEHOLD_f() {
var options = {
}
return options;
}
SAMPLEHOLD_f.prototype.set = function SAMPLEHOLD_f() {
this.x = arg1;
this.x.model.firing = [];
return new BasicBlock(this.x);
}
}
|