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