diff options
author | ASP1234 | 2016-07-11 10:29:00 +0000 |
---|---|---|
committer | ASP1234 | 2016-07-11 10:29:00 +0000 |
commit | 6ad7760dd5ee906e7b8e5c5dd137067534ba645c (patch) | |
tree | b3ac5d34777e0f5e8df0b96c5e8cf0b4fa9361e5 | |
parent | a6e56067dc1e64eca97f1555f4429abe2d17851f (diff) | |
download | xcos-on-web-6ad7760dd5ee906e7b8e5c5dd137067534ba645c.tar.gz xcos-on-web-6ad7760dd5ee906e7b8e5c5dd137067534ba645c.tar.bz2 xcos-on-web-6ad7760dd5ee906e7b8e5c5dd137067534ba645c.zip |
Implement TIME_f Block
-rw-r--r-- | data_structures_correct/TIME_f.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/data_structures_correct/TIME_f.js b/data_structures_correct/TIME_f.js new file mode 100644 index 0000000..a9c233c --- /dev/null +++ b/data_structures_correct/TIME_f.js @@ -0,0 +1,18 @@ +function TIME_f() { + + TIME_f.prototype.define = function TIME_f() { + var model = scicos_model(); + model.sim = new ScilabString(["timblk"]); + model.out = new ScilabDouble([1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false, true]); + + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"TIME_f\",sz(1),sz(2));"]); + this.x = new standard_define(new ScilabDouble([2, 2]), model, new ScilabDouble(), gr_i); + return new BasicBlock(this.x); + } + + TIME_f.prototype.details = function TIME_f() { + return this.x; + } +} |