diff options
author | Adhitya Kamakshidasan | 2016-07-06 15:21:05 +0530 |
---|---|---|
committer | GitHub | 2016-07-06 15:21:05 +0530 |
commit | 701852cf198cd7ac573e7e04b520a1b3a43f241c (patch) | |
tree | 2df47e07e0312f586ecee8bf51fed703a1c71e0e | |
parent | e150f2e19fe961f798b9da7184e054dcccfae7fa (diff) | |
parent | aaf4be97dc007be060afaf15008a557f3bfd4154 (diff) | |
download | xcos-on-web-701852cf198cd7ac573e7e04b520a1b3a43f241c.tar.gz xcos-on-web-701852cf198cd7ac573e7e04b520a1b3a43f241c.tar.bz2 xcos-on-web-701852cf198cd7ac573e7e04b520a1b3a43f241c.zip |
Merge pull request #141 from Pooja-Mahadev-Soundalgekar/master
ds_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..170f5d5 --- /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 = 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); + return new BasicBlock(this.x); + } + SINBLK_f.prototype.details = function SINBLK_f() { + return this.x; + } +} + |