summaryrefslogtreecommitdiff
path: root/js/Misc/scifunc_block_m.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-16 19:47:55 +0530
committerSunil Shetye2018-06-18 10:46:22 +0530
commitdc0c2354295fc1c80d5c0e10b053e5926861b5d3 (patch)
treef985ad20bba0639e5d85e3be91552b4dca6f7fc9 /js/Misc/scifunc_block_m.js
parent3a3e1d6aa7fd38a910a7416040050ffa9550566e (diff)
downloadsci2js-dc0c2354295fc1c80d5c0e10b053e5926861b5d3.tar.gz
sci2js-dc0c2354295fc1c80d5c0e10b053e5926861b5d3.tar.bz2
sci2js-dc0c2354295fc1c80d5c0e10b053e5926861b5d3.zip
support var(:,:) syntax
Diffstat (limited to 'js/Misc/scifunc_block_m.js')
-rw-r--r--js/Misc/scifunc_block_m.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/scifunc_block_m.js b/js/Misc/scifunc_block_m.js
index 18ee889b..37a0799a 100644
--- a/js/Misc/scifunc_block_m.js
+++ b/js/Misc/scifunc_block_m.js
@@ -84,7 +84,7 @@ model.ipar=0;
model.opar=list();
model.blocktype=typ;
model.firing=auto;
-model.dep_ut=[true,None];
+model.dep_ut=[true,false];
exprs=list([sci2exp([in1,in1]),sci2exp([out,out]),sci2exp(clkin),sci2exp(clkout),strcat(sci2exp(x0)),strcat(sci2exp(z0)),strcat(sci2exp(rpar)),sci2exp(auto),sci2exp(0)],list("y1=sin(u1)"," "," ","y1=sin(u1)"," "," "," "));
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);