diff options
Diffstat (limited to 'data_structures/ISELECT_m.js')
-rw-r--r-- | data_structures/ISELECT_m.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/ISELECT_m.js b/data_structures/ISELECT_m.js index 070c0eb..63322de 100644 --- a/data_structures/ISELECT_m.js +++ b/data_structures/ISELECT_m.js @@ -6,11 +6,11 @@ function ISELECT_m () { var nout = 2; var model = scicos_model(); - model.sim=list("selector_m",4); + model.sim=list(new ScilabString(["selector_m"]),new ScilabDouble([4])); model.out = new ScilabDouble([-1],[-1]); model.out2 = new ScilabDouble([-2],[-2]); model.outtyp = new ScilabDouble([1]); - model.in = new ScilabDouble([-1]); + model.in1 = new ScilabDouble([-1]); model.in2 = new ScilabDouble([-2]); model.intyp = new ScilabDouble([1]); model.evtout = new ScilabDouble(); @@ -27,4 +27,5 @@ function ISELECT_m () { var gr_i = []; this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) } |