diff options
Diffstat (limited to 'data_structures/MCLOCK_f.js')
-rw-r--r-- | data_structures/MCLOCK_f.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data_structures/MCLOCK_f.js b/data_structures/MCLOCK_f.js index ee3eb49..0a94924 100644 --- a/data_structures/MCLOCK_f.js +++ b/data_structures/MCLOCK_f.js @@ -5,7 +5,7 @@ function MCLOCK_f () { var dt = 0.1; - var exprs = [[dt.toString()],[nn.toString()]]; + var exprs = [[string(dt)],[string(nn)]]; var mfclck = MFCLCK_f("define"); mfclck.graphics.orig = new ScilabDouble([334,199]); @@ -77,4 +77,5 @@ function MCLOCK_f () { this.x.model.blocktype = new ScilabString(["h"]); this.x.model.rpar=diagram; this.x.graphics.peout = new ScilabDouble([0],[0]); + return new BasicBlock(this.x) } |