summaryrefslogtreecommitdiff
path: root/history/data_structures/REGISTER.js
diff options
context:
space:
mode:
Diffstat (limited to 'history/data_structures/REGISTER.js')
-rw-r--r--history/data_structures/REGISTER.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/history/data_structures/REGISTER.js b/history/data_structures/REGISTER.js
new file mode 100644
index 0000000..6b9b247
--- /dev/null
+++ b/history/data_structures/REGISTER.js
@@ -0,0 +1,20 @@
+function REGISTER () {
+
+
+ var z0 = zeros(10,1);
+
+ var model = scicos_model();
+ model.sim=list(new ScilabString(["delay4"]),new ScilabDouble([4]));
+ model.in1 = new ScilabDouble([1]);
+ model.out = new ScilabDouble([1]);
+ model.evtin = new ScilabDouble([1]);
+ model.dstate=z0;
+ model.blocktype = new ScilabString(["d"]);
+ model.dep_ut = new ScilabBoolean([false,false]);
+
+ var exprs = strcat(string(z0),,";");
+
+ var gr_i = [];
+ this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i);
+ return new BasicBlock(this.x)
+}