diff options
Diffstat (limited to 'data_structures/SAMPHOLD_m.js')
-rw-r--r-- | data_structures/SAMPHOLD_m.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/SAMPHOLD_m.js b/data_structures/SAMPHOLD_m.js index 210a61c..0a52809 100644 --- a/data_structures/SAMPHOLD_m.js +++ b/data_structures/SAMPHOLD_m.js @@ -2,8 +2,8 @@ function SAMPHOLD_m () { var model = scicos_model(); - model.sim=list("samphold4_m",4); - model.in = new ScilabDouble([-1]); + model.sim=list(new ScilabString(["samphold4_m"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); model.in2 = new ScilabDouble([-2]); model.intyp = new ScilabDouble([1]); model.outtyp = new ScilabDouble([1]); @@ -17,4 +17,5 @@ function SAMPHOLD_m () { var gr_i = []; this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) } |