summaryrefslogtreecommitdiff
path: root/data_structures/Modulo_Count.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/Modulo_Count.js')
-rw-r--r--data_structures/Modulo_Count.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/data_structures/Modulo_Count.js b/data_structures/Modulo_Count.js
new file mode 100644
index 0000000..fc71f23
--- /dev/null
+++ b/data_structures/Modulo_Count.js
@@ -0,0 +1,21 @@
+function Modulo_Count () {
+
+
+ var ini_c = 0;
+
+ var base = 3;
+
+ var model = scicos_model();
+ model.sim=list("modulo_count",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 = [[ini_c.toString()],[base.toString()]];
+
+ var gr_i = [];
+ this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i);
+}