diff options
Diffstat (limited to 'data_structures_correct/SINBLK_f.js')
-rw-r--r-- | data_structures_correct/SINBLK_f.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/data_structures_correct/SINBLK_f.js b/data_structures_correct/SINBLK_f.js index b568ec8..b3c33c7 100644 --- a/data_structures_correct/SINBLK_f.js +++ b/data_structures_correct/SINBLK_f.js @@ -1,6 +1,7 @@ function SINBLK_f() { SINBLK_f.prototype.define = function SINBLK_f() { + var model = scicos_model(); model.sim = new ScilabString(["sinblk"]); model.in = new ScilabDouble([-1]); @@ -8,15 +9,13 @@ function SINBLK_f() { model.blocktype = new ScilabString(["c"]); model.dep_ut = new ScilabBoolean([true, false]); - var exprs = " "; + var exprs = new ScilabString([" "]); var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SINBLK_f\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]), model, exprs, gr_i); + this.x = new standard_define(new ScilabDouble([2, 2]), model, exprs, gr_i); return new BasicBlock(this.x); } - SINBLK_f.prototype.details = function SINBLK_f() { return this.x; - } -} +}
\ No newline at end of file |