summaryrefslogtreecommitdiff
path: root/history/data_structures/generic_block3.js
diff options
context:
space:
mode:
authorkamakshidasan2016-12-22 15:36:18 +0530
committerkamakshidasan2016-12-22 15:36:18 +0530
commitb2cd0d0cad32683971baf53efa2e50ff8d26f66b (patch)
treee359be4308ae9b361eae39bf277adcfbef807cef /history/data_structures/generic_block3.js
parent25afcccb46a603cc9d2485e25216acfffa2e3e02 (diff)
downloadxcos-on-web-b2cd0d0cad32683971baf53efa2e50ff8d26f66b.tar.gz
xcos-on-web-b2cd0d0cad32683971baf53efa2e50ff8d26f66b.tar.bz2
xcos-on-web-b2cd0d0cad32683971baf53efa2e50ff8d26f66b.zip
Maven has been removed
Diffstat (limited to 'history/data_structures/generic_block3.js')
-rw-r--r--history/data_structures/generic_block3.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/history/data_structures/generic_block3.js b/history/data_structures/generic_block3.js
new file mode 100644
index 0000000..82804f0
--- /dev/null
+++ b/history/data_structures/generic_block3.js
@@ -0,0 +1,23 @@
+function generic_block3 () {
+
+
+ var model = scicos_model();
+
+ var function_name = "sinblk";
+
+ var funtyp = 4;
+ model.sim=list(function_name,funtyp);
+ model.in1 = new ScilabDouble([1]);
+ model.in2 = new ScilabDouble([1]);
+ model.intyp = new ScilabDouble([1]);
+ model.out = new ScilabDouble([1]);
+ model.out2 = new ScilabDouble([1]);
+ model.outtyp = new ScilabDouble([1]);
+ model.dep_ut = new ScilabBoolean([true,false]);
+
+ var label = [[function_name;sci2exp(funtyp);sci2exp([model.in1,model.in2]);sci2exp(model.intyp);sci2exp([model.out,model.out2])sci2exp(model.outtyp);sci2exp(model.evtin);sci2exp(model.evtout);sci2exp(model.state);sci2exp(model.dstate);sci2exp(model.odstate);sci2exp(model.rpar);sci2exp(model.ipar);sci2exp(model.opar);sci2exp(model.nmode);sci2exp(model.nzcross);sci2exp(model.firing);"y";"n"]];
+
+ var gr_i = [];
+ this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i);
+ return new BasicBlock(this.x)
+}