diff options
Diffstat (limited to 'webapp/history/data_structures/DOLLAR_f.js')
-rw-r--r-- | webapp/history/data_structures/DOLLAR_f.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/webapp/history/data_structures/DOLLAR_f.js b/webapp/history/data_structures/DOLLAR_f.js new file mode 100644 index 0000000..19d03d4 --- /dev/null +++ b/webapp/history/data_structures/DOLLAR_f.js @@ -0,0 +1,24 @@ +function DOLLAR_f () { + + + var z = 0; + + var inh = 0; + + var in1 = 1; + + var exprs = string([z],[inh]); + + var model = scicos_model(); + model.sim = new ScilabString(["dollar"]); + 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) +} |