From 1170404c7650cb531534b308f103c9b6abd50d14 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 18 Jun 2018 23:41:23 +0530 Subject: handle multiple rows --- js/MatrixOp/MATRESH.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/MatrixOp/MATRESH.js') 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; } -- cgit