/* autogenerated from "macros/Misc/SUPER_f.sci" */ function SUPER_f() { SUPER_f.prototype.define = function SUPER_f() { scs = scicos_diagram(); scs.props.title = "Super Block"; in1 = IN_f("define"); in1.graphics.orig = [40,40]; in1.graphics.sz = [20,20]; out = OUT_f("define"); out.graphics.orig = [240,40]; out.graphics.sz = [20,20]; scs.objs[1-1] = in1; scs.objs[2-1] = out; this.model = scicos_model(); this.model.sim = new ScilabString(["super"]); this.model.in1 = new ScilabDouble([1]); this.model.out = new ScilabDouble([1]); this.model.rpar = new ScilabDouble([scs]); this.model.blocktype = new ScilabString(["h"]); this.model.dep_ut = [false,false]; gr_i = []; this.x = standard_define([2,2],this.model,[],gr_i); return new SuperBlock(this.x); } SUPER_f.prototype.details = function SUPER_f() { return this.x; } SUPER_f.prototype.get = function SUPER_f() { var options = { } return options; } SUPER_f.prototype.set = function SUPER_f() { xcos(arg1.model.rpar); return new SuperBlock(this.x); } }