summaryrefslogtreecommitdiff
path: root/js/Linear/SAMPLEHOLD_f.js
blob: 7e9fe126c2169c7083e008f6499b785bb388c0eb (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;
        model = scicos_model();
        model.sim = "samphold";
        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);
    }
    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);
    }
}