summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATRESH.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-18 23:41:23 +0530
committerSunil Shetye2018-06-19 10:31:46 +0530
commit1170404c7650cb531534b308f103c9b6abd50d14 (patch)
treea6a61ae2a9a3592440483906ce6c7254b3243553 /js/MatrixOp/MATRESH.js
parentcd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76 (diff)
downloadsci2js-1170404c7650cb531534b308f103c9b6abd50d14.tar.gz
sci2js-1170404c7650cb531534b308f103c9b6abd50d14.tar.bz2
sci2js-1170404c7650cb531534b308f103c9b6abd50d14.zip
handle multiple rows
Diffstat (limited to 'js/MatrixOp/MATRESH.js')
-rw-r--r--js/MatrixOp/MATRESH.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/MatrixOp/MATRESH.js b/js/MatrixOp/MATRESH.js
index 9766c7a5..f9708e24 100644
--- a/js/MatrixOp/MATRESH.js
+++ b/js/MatrixOp/MATRESH.js
@@ -20,7 +20,7 @@ model.ipar=[];
model.blocktype="c";
model.firing=[];
model.dep_ut=[true,false];
-label=[sci2exp(1),sci2exp([1,1]),sci2exp([1,1])];
+label=[[sci2exp(1)],[sci2exp([1,1])],[sci2exp([1,1])]];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
}
@@ -37,7 +37,7 @@ if (size(label,"*")==14) {
label[9-1]=[];
}
while (true) {
-[ok,typ,l1,out,lab]=scicos_getvalue("Set MATRESH block parameters",["Datatype(1=real double 2=Complex)","input size","output size desired"],list("vec",-1,"vec",-1,"vec",-1),label);
+[ok,typ,l1,out,lab]=scicos_getvalue("Set MATRESH block parameters",[["Datatype(1=real double 2=Complex)","input size"],["output size desired"]],list("vec",-1,"vec",-1,"vec",-1),label);
if (!ok) {
break;
}