diff options
Diffstat (limited to 'data_structures/CLINDUMMY_f.js')
-rw-r--r-- | data_structures/CLINDUMMY_f.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data_structures/CLINDUMMY_f.js b/data_structures/CLINDUMMY_f.js index 1c6b9e5..35ca987 100644 --- a/data_structures/CLINDUMMY_f.js +++ b/data_structures/CLINDUMMY_f.js @@ -4,7 +4,7 @@ function CLINDUMMY_f () { var x0 = 0; var model = scicos_model(); - model.sim=list("cdummy",4); + model.sim=list(new ScilabString(["cdummy"]),new ScilabDouble([4])); model.state=new ScilabDouble([x0]); model.blocktype = new ScilabString(["c"]); model.firing = new ScilabDouble(); @@ -12,4 +12,5 @@ function CLINDUMMY_f () { var gr_i = []; this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); + return new BasicBlock(this.x) } |