From 572f2fef124c7e62afb917ef9c596a22724da077 Mon Sep 17 00:00:00 2001 From: Adhitya Kamakshidasan Date: Thu, 28 Jul 2016 21:53:13 +0530 Subject: Support for Maven added --- .../webapp/history/data_structures/EVTDLY_c.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/main/webapp/history/data_structures/EVTDLY_c.js (limited to 'src/main/webapp/history/data_structures/EVTDLY_c.js') diff --git a/src/main/webapp/history/data_structures/EVTDLY_c.js b/src/main/webapp/history/data_structures/EVTDLY_c.js new file mode 100644 index 0000000..7ada20f --- /dev/null +++ b/src/main/webapp/history/data_structures/EVTDLY_c.js @@ -0,0 +1,22 @@ +function EVTDLY_c () { + + + var dt = 0.1; + + var ff = 0.0; + + var model = scicos_model(); + model.sim=list(new ScilabString(["evtdly4"]),new ScilabDouble([4])); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1]); + model.rpar = new ScilabDouble([dt],[ff]); + model.blocktype = new ScilabString(["d"]); + model.firing=new ScilabDouble([ff]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(dt)],[sci2exp(ff)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} -- cgit