diff options
Diffstat (limited to 'js/Events/MFCLCK_f.js')
-rw-r--r-- | js/Events/MFCLCK_f.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js index 517bf43c..4330cafe 100644 --- a/js/Events/MFCLCK_f.js +++ b/js/Events/MFCLCK_f.js @@ -1,19 +1,19 @@ /* autogenerated from "macros/Events/MFCLCK_f.sci" */ function MFCLCK_f() { MFCLCK_f.prototype.define = function MFCLCK_f() { - nn = 2; - dt = 0.1; + this.nn = 2; + this.dt = 0.1; model = scicos_model(); model.sim = "mfclck"; model.evtin = 1; model.evtout = [[1],[1]]; model.dstate = 0; - model.rpar = dt; - model.ipar = nn; + model.rpar = this.dt; + model.ipar = this.nn; model.blocktype = "d"; model.firing = [-1,0]; model.dep_ut = [false,false]; - exprs = [[string(dt)],[string(nn)]]; + exprs = [[string(this.dt)],[string(this.nn)]]; gr_i = []; this.x = standard_define([3,2],model,exprs,gr_i); return new BasicBlock(this.x); @@ -28,10 +28,10 @@ function MFCLCK_f() { graphics = arg1.graphics; exprs = graphics.exprs; model = arg1.model; - [ok,dt,nn,exprs] = scicos_getvalue("Set Multifrequency clock parameters",[["basic period (1/f)"],["multiply by (n)"]],list("vec",1,"vec",1),exprs); + [ok,this.dt,this.nn,exprs] = scicos_getvalue("Set Multifrequency clock parameters",[["basic period (1/f)"],["multiply by (n)"]],list("vec",1,"vec",1),exprs); if (ok) { - model.ipar = nn; - model.rpar = dt; + model.ipar = this.nn; + model.rpar = this.dt; hh = model.firing; hh[2-1] = 0; model.firing = hh; |