summaryrefslogtreecommitdiff
path: root/history/data_structures/scifunc_block_m.js
diff options
context:
space:
mode:
Diffstat (limited to 'history/data_structures/scifunc_block_m.js')
-rw-r--r--history/data_structures/scifunc_block_m.js51
1 files changed, 0 insertions, 51 deletions
diff --git a/history/data_structures/scifunc_block_m.js b/history/data_structures/scifunc_block_m.js
deleted file mode 100644
index 20d082c..0000000
--- a/history/data_structures/scifunc_block_m.js
+++ /dev/null
@@ -1,51 +0,0 @@
-function scifunc_block_m () {
-
-
- var in1 = 1;
-
- var out = 1;
-
- var clkin = [];
-
- var clkout = [];
-
- var x0 = [];
-
- var z0 = [];
-
- var typ = "c";
-
- var auto = [];
-
- var rpar = [];
-
- var it = 1;
-
- var model = scicos_model();
- model.sim=list(new ScilabString(["scifunc"]),new ScilabDouble([3]));
- model.in1.push(new ScilabDouble([in1]));
- model.in2.push(new ScilabDouble([in1]));
- model.intyp=new ScilabDouble([it]);
- model.out=new ScilabDouble([out]);
- model.out2.push(new ScilabDouble([out]));
- model.outtyp=new ScilabDouble([it]);
- model.evtin=clkin;
- model.evtout=clkout;
- model.state=x0;
- model.dstate=z0;
- model.rpar=rpar;
- model.ipar = new ScilabDouble([0]);
- model.opar=list();
- model.blocktype=new ScilabString([typ]);
- model.firing=auto;
- model.dep_ut = new ScilabBoolean([true,false]);
-
- var exprs = list([sci2exp([in1,in1])],[sci2exp([out,out])],[sci2exp(clkin)],[sci2exp(clkout);
- strcat(sci2exp(x0));strcat(sci2exp(z0));
-
- var strcat(sci2exp(rpar));sci2exp(auto);sci2exp(0)],list("y1 = sin(u1)"," "," ","y1=sin(u1)"," "," "," "));
-
- var gr_i = [];
- this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i);
- return new BasicBlock(this.x)
-}