diff options
Diffstat (limited to 'data_structures/EVTDLY_c.js')
-rw-r--r-- | data_structures/EVTDLY_c.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/data_structures/EVTDLY_c.js b/data_structures/EVTDLY_c.js new file mode 100644 index 0000000..7c573aa --- /dev/null +++ b/data_structures/EVTDLY_c.js @@ -0,0 +1,21 @@ +function EVTDLY_c () { + + + var dt = 0.1; + + var ff = 0.0; + + var model = scicos_model(); + model.sim=list("evtdly4",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 = [[dt.toString()],[sci2exp(ff)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); +} |