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