summaryrefslogtreecommitdiff
path: root/data_structures/EXTRACTOR.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/EXTRACTOR.js')
-rw-r--r--data_structures/EXTRACTOR.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/EXTRACTOR.js b/data_structures/EXTRACTOR.js
index ca50a59..fe8472d 100644
--- a/data_structures/EXTRACTOR.js
+++ b/data_structures/EXTRACTOR.js
@@ -4,8 +4,8 @@ function EXTRACTOR () {
var ind = 1;
var model = scicos_model();
- model.sim=list("extractor",4);
- model.in = new ScilabDouble([-1]);
+ model.sim=list(new ScilabString(["extractor"]),new ScilabDouble([4]));
+ model.in1 = new ScilabDouble([-1]);
model.out = new ScilabDouble([1]);
model.blocktype = new ScilabString(["c"]);
model.dep_ut = new ScilabBoolean([true,false]);
@@ -15,4 +15,5 @@ function EXTRACTOR () {
var gr_i = [];
this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i);
+ return new BasicBlock(this.x)
}