summaryrefslogtreecommitdiff
path: root/js/Sources/PULSE_SC.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/PULSE_SC.js')
-rw-r--r--js/Sources/PULSE_SC.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js
index 3823707f..c1bc6b08 100644
--- a/js/Sources/PULSE_SC.js
+++ b/js/Sources/PULSE_SC.js
@@ -14,27 +14,27 @@ function PULSE_SC() {
scs_m_1.objs[10-1] = scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[174.57795,196.09381],sz=[20,20],flip=true,theta=0,exprs="1",pin=11,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=-2,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m_1.objs[11-1] = scicos_link(xx=[[154.57795],[174.57795]],yy=[[206.09381],[206.09381]],id="drawlink",thick=[0,0],ct=[1,1],from=[3,1,0],to=[10,1,1]);
this.model = scicos_model();
- this.model.sim = new ScilabString("csuper");
+ this.model.sim = new ScilabString(["csuper"]);
this.model.in1 = [];
this.model.in2 = [];
- this.model.intyp = new ScilabDouble(1);
- this.model.out = new ScilabDouble(-1);
- this.model.out2 = new ScilabDouble(-2);
- this.model.outtyp = new ScilabDouble(-1);
+ this.model.intyp = new ScilabDouble([1]);
+ this.model.out = new ScilabDouble([-1]);
+ this.model.out2 = new ScilabDouble([-2]);
+ this.model.outtyp = new ScilabDouble([-1]);
this.model.evtin = [];
this.model.evtout = [];
this.model.state = [];
this.model.dstate = [];
this.model.odstate = list();
- this.model.rpar = new ScilabDouble(scs_m_1);
- this.model.ipar = new ScilabDouble(1);
+ this.model.rpar = new ScilabDouble([scs_m_1]);
+ this.model.ipar = new ScilabDouble([1]);
this.model.opar = list();
- this.model.blocktype = new ScilabString("h");
+ this.model.blocktype = new ScilabString(["h"]);
this.model.firing = [];
this.model.dep_ut = [false,false];
- this.model.label = new ScilabString("");
- this.model.nzcross = new ScilabDouble(0);
- this.model.nmode = new ScilabDouble(0);
+ this.model.label = new ScilabString([""]);
+ this.model.nzcross = new ScilabDouble([0]);
+ this.model.nmode = new ScilabDouble([0]);
this.model.equations = list();
E = 0.1;
W = 30;