diff options
Diffstat (limited to 'data_structures/MATTRAN.js')
-rw-r--r-- | data_structures/MATTRAN.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/MATTRAN.js b/data_structures/MATTRAN.js index e68f6a3..a3a0493 100644 --- a/data_structures/MATTRAN.js +++ b/data_structures/MATTRAN.js @@ -2,8 +2,8 @@ function MATTRAN () { var model = scicos_model(); - model.sim=list("mattran_m",4); - model.in = new ScilabDouble([-1]); + model.sim=list(new ScilabString(["mattran_m"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); model.in2 = new ScilabDouble([-2]); model.out = new ScilabDouble([-2]); model.out2 = new ScilabDouble([-1]); @@ -13,4 +13,5 @@ function MATTRAN () { var gr_i = []; this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) } |