summaryrefslogtreecommitdiff
path: root/data_structures_correct/scifunc_block_m.js
diff options
context:
space:
mode:
authorkamakshidasan2016-12-22 15:42:26 +0530
committerkamakshidasan2016-12-22 15:42:26 +0530
commita249d85c0e727d8251102e13aa179f64d5f8dbf7 (patch)
tree175c82701bf3d53ae8d2ba481fcc99f8ee961c40 /data_structures_correct/scifunc_block_m.js
parentb2cd0d0cad32683971baf53efa2e50ff8d26f66b (diff)
downloadxcos-on-web-a249d85c0e727d8251102e13aa179f64d5f8dbf7.tar.gz
xcos-on-web-a249d85c0e727d8251102e13aa179f64d5f8dbf7.tar.bz2
xcos-on-web-a249d85c0e727d8251102e13aa179f64d5f8dbf7.zip
Rearrange folders
Diffstat (limited to 'data_structures_correct/scifunc_block_m.js')
-rw-r--r--data_structures_correct/scifunc_block_m.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/data_structures_correct/scifunc_block_m.js b/data_structures_correct/scifunc_block_m.js
deleted file mode 100644
index a15ee4a..0000000
--- a/data_structures_correct/scifunc_block_m.js
+++ /dev/null
@@ -1,43 +0,0 @@
-function scifunc_block_m() {
-
- scifunc_block_m.prototype.define = function scifunc_block_m() {
- this.in1 = 1;
- this.out = 1;
- this.clkin = [];
- this.clkout = [];
- this.x0 = [];
- this.z0 = [];
- this.typ = "c";
- this.auto = [];
- this.rpar = [];
- this.it = 1;
-
- var model = scicos_model();
- model.sim = list(new ScilabString(["scifunc"]), new ScilabDouble([3]));
- model.in = new ScilabDouble([this.in1]);
- model.in2 = new ScilabDouble([this.in1]);
- model.intyp = new ScilabDouble([this.it]);
- model.out = new ScilabDouble([this.out]);
- model.out2 = new ScilabDouble([this.out]);
- model.outtyp = new ScilabDouble([this.it]);
- model.evtin = new ScilabDouble();
- model.evtout = new ScilabDouble();
- model.state = new ScilabDouble();
- model.dstate = new ScilabDouble();
- model.rpar = new ScilabDouble();
- model.ipar = new ScilabDouble([0]);
- model.opar = list();
- model.blocktype = new ScilabString([this.typ]);
- model.firing = new ScilabDouble();
- model.dep_ut = new ScilabBoolean([true, false]);
-
- var exprs = list(new ScilabString([sci2exp([this.in1, this.in1])], [sci2exp([this.out, this.out])], [sci2exp(this.clkin)], [sci2exp(this.clkout)], [sci2exp(this.x0)], [sci2exp(this.z0)], [sci2exp(this.rpar)], [sci2exp(this.auto)], [sci2exp(0)]), list(new ScilabString(["y1=sin(u1)"]), new ScilabString([" "]), new ScilabString([" "]), new ScilabString(["y1=sin(u1)"]), new ScilabString([" "]), new ScilabString([" "]), new ScilabString([" "])));
-
- var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"scifunc_block_m\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([4, 2]), model, exprs, gr_i);
- return new BasicBlock(this.x);
- }
- scifunc_block_m.prototype.details = function scifunc_block_m() {
- return this.x;
- }
-}