summaryrefslogtreecommitdiff
path: root/data_structures/EXPBLK_m.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/EXPBLK_m.js')
-rw-r--r--data_structures/EXPBLK_m.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/data_structures/EXPBLK_m.js b/data_structures/EXPBLK_m.js
index b85018c..7cfd9af 100644
--- a/data_structures/EXPBLK_m.js
+++ b/data_structures/EXPBLK_m.js
@@ -1,13 +1,13 @@
function EXPBLK_m () {
- var in = 1;
+ var in1 = 1;
var a = %e;
var model = scicos_model();
- model.sim=list("expblk_m",4);
- model.in = new ScilabDouble([-1]);
+ model.sim=list(new ScilabString(["expblk_m"]),new ScilabDouble([4]));
+ model.in1 = new ScilabDouble([-1]);
model.in2 = new ScilabDouble([-2]);
model.out = new ScilabDouble([-1]);
model.out2 = new ScilabDouble([-2]);
@@ -21,4 +21,5 @@ function EXPBLK_m () {
var gr_i = [];
this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i);
+ return new BasicBlock(this.x)
}