From 6ad7760dd5ee906e7b8e5c5dd137067534ba645c Mon Sep 17 00:00:00 2001 From: ASP1234 Date: Mon, 11 Jul 2016 10:29:00 +0000 Subject: Implement TIME_f Block --- data_structures_correct/TIME_f.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 data_structures_correct/TIME_f.js 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; + } +} -- cgit