/* autogenerated from "macros/Misc/func_block.sci" */ function func_block() { func_block.prototype.define = function func_block() { model = scicos_model(); model.sim = " "; model.in1 = 1; model.out = 1; model.blocktype = "c"; model.dep_ut = [true,false]; exprs = "v=sin(u);y=u*v"; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); return new BasicBlock(this.x); } func_block.prototype.details = function func_block() { return this.x; } func_block.prototype.get = function func_block() { } func_block.prototype.set = function func_block() { model = arg1.model; graphics = arg1.graphics; exprs = graphics.exprs; this.x = arg1; model = this.x.model; [ok,mac,exprs] = this.genfunc[exprs-1]; if (ok) { model.sim = mac; graphics.exprs = exprs; this.x.model = model; this.x.graphics = graphics; } return new BasicBlock(this.x); } }