blob: 1413f7cc024069b2b905f4f461e7ad15673d9c97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* 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);
}
}
|