diff options
Diffstat (limited to 'data_structures/TRASH_f.js')
-rw-r--r-- | data_structures/TRASH_f.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/TRASH_f.js b/data_structures/TRASH_f.js index 7a02e7e..c9e4ac4 100644 --- a/data_structures/TRASH_f.js +++ b/data_structures/TRASH_f.js @@ -1,11 +1,11 @@ function TRASH_f () { - var in = -1; + var in1 = -1; var model = scicos_model(); model.sim = new ScilabString(["trash"]); - model.in=new ScilabDouble([in]); + model.in1.push(new ScilabDouble([in1])); model.evtin = new ScilabDouble([1]); model.blocktype = new ScilabString(["d"]); model.dep_ut = new ScilabBoolean([false,false]); @@ -14,4 +14,5 @@ function TRASH_f () { var gr_i = []; this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) } |