diff options
author | Avi Dutta | 2016-07-06 08:56:14 +0000 |
---|---|---|
committer | Avi Dutta | 2016-07-06 08:56:14 +0000 |
commit | 3980539f62c0b01b40cc36d4f1f0a896196eff24 (patch) | |
tree | 9ccffdbf2bdf51c7eb509c96f5189e675d73b534 | |
parent | 1f1f65fa91c999f4aa2a2da1276b84f9ee4b835b (diff) | |
download | xcos-on-web-3980539f62c0b01b40cc36d4f1f0a896196eff24.tar.gz xcos-on-web-3980539f62c0b01b40cc36d4f1f0a896196eff24.tar.bz2 xcos-on-web-3980539f62c0b01b40cc36d4f1f0a896196eff24.zip |
Implement SINBLK_f
-rw-r--r-- | data_structures_correct/SINBLK_f.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/data_structures_correct/SINBLK_f.js b/data_structures_correct/SINBLK_f.js new file mode 100644 index 0000000..2169519 --- /dev/null +++ b/data_structures_correct/SINBLK_f.js @@ -0,0 +1,22 @@ +function SINBLK_f () { + + SINBLK_f.prototype.define = function SINBLK_f() { + var model = scicos_model(); + model.sim = new ScilabString(["sinblk"]); + model.in = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = " "; + + 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); + return new BasicBlock(this.x); + } + + SINBLK_f.prototype.details = function SINBLK_f() { + return this.x; + + } +} |