diff options
Diffstat (limited to 'data_structures/TrigFun.js')
-rw-r--r-- | data_structures/TrigFun.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/TrigFun.js b/data_structures/TrigFun.js index ec6b718..736a8c2 100644 --- a/data_structures/TrigFun.js +++ b/data_structures/TrigFun.js @@ -2,8 +2,8 @@ function TrigFun () { var model = scicos_model(); - model.sim=list("sin_blk",4); - model.in = new ScilabDouble([-1]); + model.sim=list(new ScilabString(["sin_blk"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); model.out = new ScilabDouble([-1]); model.blocktype = new ScilabString(["c"]); model.dep_ut = new ScilabBoolean([true,false]); @@ -12,4 +12,5 @@ function TrigFun () { var gr_i = []; this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) } |