diff options
Diffstat (limited to 'webapp/history/data_structures/DEMUX_f.js')
-rw-r--r-- | webapp/history/data_structures/DEMUX_f.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/webapp/history/data_structures/DEMUX_f.js b/webapp/history/data_structures/DEMUX_f.js new file mode 100644 index 0000000..161b4a1 --- /dev/null +++ b/webapp/history/data_structures/DEMUX_f.js @@ -0,0 +1,20 @@ +function DEMUX_f () { + + + var out = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["demux"]),new ScilabDouble([1])); + model.in1 = new ScilabDouble([0]); + model.out=-...transpose([1:out]); + model.ipar=new ScilabDouble([out]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = string(out); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([.5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} |