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