From a249d85c0e727d8251102e13aa179f64d5f8dbf7 Mon Sep 17 00:00:00 2001 From: kamakshidasan Date: Thu, 22 Dec 2016 15:42:26 +0530 Subject: Rearrange folders --- webapp/history/data_structures/Modulo_Count.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 webapp/history/data_structures/Modulo_Count.js (limited to 'webapp/history/data_structures/Modulo_Count.js') diff --git a/webapp/history/data_structures/Modulo_Count.js b/webapp/history/data_structures/Modulo_Count.js new file mode 100644 index 0000000..62db6ad --- /dev/null +++ b/webapp/history/data_structures/Modulo_Count.js @@ -0,0 +1,22 @@ +function Modulo_Count () { + + + var ini_c = 0; + + var base = 3; + + var model = scicos_model(); + model.sim=list(new ScilabString(["modulo_count"]),new ScilabDouble([4])); + model.evtin = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.dstate=new ScilabDouble([ini_c]); + model.ipar=new ScilabDouble([base]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(ini_c)],[string(base)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} -- cgit