diff options
Diffstat (limited to 'data_structures/BACKLASH.js')
-rw-r--r-- | data_structures/BACKLASH.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/BACKLASH.js b/data_structures/BACKLASH.js index ad129b9..d407fd7 100644 --- a/data_structures/BACKLASH.js +++ b/data_structures/BACKLASH.js @@ -4,8 +4,8 @@ function BACKLASH () { var exprs = ["0";"1";"1"]; var model = scicos_model(); - model.sim=list("backlash",4); - model.in = new ScilabDouble([1]); + model.sim=list(new ScilabString(["backlash"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); model.out = new ScilabDouble([1]); model.rpar = new ScilabDouble([0],[1]); model.nzcross = new ScilabDouble([2]); @@ -14,4 +14,5 @@ function BACKLASH () { var gr_i = []; this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) } |