summaryrefslogtreecommitdiff
path: root/data_structures/M_freq.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/M_freq.js')
-rw-r--r--data_structures/M_freq.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/M_freq.js b/data_structures/M_freq.js
index 1e2e8e4..0ab9467 100644
--- a/data_structures/M_freq.js
+++ b/data_structures/M_freq.js
@@ -2,11 +2,11 @@ function M_freq () {
var model = scicos_model();
- model.sim=list("m_frequ",4);
+ model.sim=list(new ScilabString(["m_frequ"]),new ScilabDouble([4]));
model.evtout = new ScilabDouble([1],[1],[1]);
model.evtin = new ScilabDouble([1]);
model.rpar = new ScilabDouble();
- model.opar=list([1,1,0],[1,1,1],[1,3,2],1,0,0);
+ model.opar=list(new ScilabDouble([1),new ScilabDouble([1]),new ScilabDouble([0]]),new ScilabDouble([1),new ScilabDouble([1]),new ScilabDouble([1]]),new ScilabDouble([1),new ScilabDouble([3]),new ScilabDouble([2]]),new ScilabDouble([1]),new ScilabDouble([0]),new ScilabDouble([0]));
model.blocktype = new ScilabString(["d"]);
model.firing = new ScilabDouble([0,-1,-1]);
model.dep_ut = new ScilabBoolean([false,false]);
@@ -15,4 +15,5 @@ function M_freq () {
var gr_i = [];
this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i);
+ return new BasicBlock(this.x)
}