summaryrefslogtreecommitdiff
path: root/data_structures/GENSIN_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/GENSIN_f.js')
-rw-r--r--data_structures/GENSIN_f.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/GENSIN_f.js b/data_structures/GENSIN_f.js
index 6a3cb04..13638df 100644
--- a/data_structures/GENSIN_f.js
+++ b/data_structures/GENSIN_f.js
@@ -5,7 +5,7 @@ function GENSIN_f () {
var model = scicos_model();
model.sim = new ScilabString(["gensin"]);
- model.in = new ScilabDouble();
+ model.in1 = new ScilabDouble();
model.out = new ScilabDouble([1]);
model.out2 = new ScilabDouble([1]);
model.outtyp = new ScilabDouble([1]);
@@ -13,8 +13,9 @@ function GENSIN_f () {
model.blocktype = new ScilabString(["c"]);
model.dep_ut = new ScilabBoolean([false,true]);
- var exprs = [[rpar(1.toString())],[rpar(2.toString())],[rpar(3.toString())]];
+ var exprs = [[string(rpar(1))],[string(rpar(2))],[string(rpar(3))]];
var gr_i = [];
this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i);
+ return new BasicBlock(this.x)
}