diff options
Diffstat (limited to 'data_structures/LOGBLK_f.js')
-rw-r--r-- | data_structures/LOGBLK_f.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/LOGBLK_f.js b/data_structures/LOGBLK_f.js index e8f043f..728dc8a 100644 --- a/data_structures/LOGBLK_f.js +++ b/data_structures/LOGBLK_f.js @@ -1,13 +1,13 @@ function LOGBLK_f () { - var in = 1; + var in1 = 1; var a = %e; var model = scicos_model(); model.sim = new ScilabString(["logblk"]); - model.in = new ScilabDouble([-1]); + model.in1 = new ScilabDouble([-1]); model.out = new ScilabDouble([-1]); model.rpar=new ScilabBoolean([a]); model.blocktype = new ScilabString(["c"]); @@ -17,4 +17,5 @@ function LOGBLK_f () { var gr_i = []; this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) } |