diff options
Diffstat (limited to 'history/data_structures/DOLLAR.js')
-rw-r--r-- | history/data_structures/DOLLAR.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/history/data_structures/DOLLAR.js b/history/data_structures/DOLLAR.js new file mode 100644 index 0000000..b88da24 --- /dev/null +++ b/history/data_structures/DOLLAR.js @@ -0,0 +1,24 @@ +function DOLLAR () { + + + var z = 0; + + var inh = 0; + + var in1 = 1; + + var exprs = string([z],[inh]); + + var model = scicos_model(); + model.sim=list(new ScilabString(["dollar4"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([in1]); + model.evtin = new ScilabDouble([1-inh]); + model.dstate=new ScilabDouble([z]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} |