summaryrefslogtreecommitdiff
path: root/js/NonLinear/INVBLK.js
blob: 109812cfec5cf990682cfd9df26323959f730a3a (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
/* autogenerated from "macros/NonLinear/INVBLK.sci" */
function INVBLK() {
    INVBLK.prototype.define = function INVBLK() {
        var in1 = -1;
        this.model = scicos_model();
        this.model.sim = list(new ScilabString(["invblk4"]), new ScilabDouble([4]));
        this.model.in = new ScilabDouble([in1]);
        this.model.out = new ScilabDouble([in1]);
        this.model.blocktype = new ScilabString(["c"]);
        this.model.dep_ut = new ScilabBoolean([true,false]);
        var exprs = " ";
        var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"INVBLK\",sz(1),sz(2));"]);
        this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString([exprs]),gr_i);
        return new BasicBlock(this.x);
    }
    INVBLK.prototype.details = function INVBLK() {
        return this.x;
    }
    INVBLK.prototype.get = function INVBLK() {
        alert("parameters cannot be modified");
    }
    INVBLK.prototype.set = function INVBLK() {
        return new BasicBlock(this.x);
    }
    INVBLK.prototype.get_popup_title = function INVBLK() {
        return;
    }
}