I am developing MATDET block of Scilab's Xcos simulator on the web(using JS) but getting this pop up 'Error in port size or type' when I simulate a diagram by giving a matrix input to MATDET using const_m block.
If I just give an integer input than the simulation works. I have given port sizes of input and output as per .sci file of MATDET:
in: [[-1,-1],1] OR [[-1,-1],2] (Input by user)
out: [[1,1],1] OR [[1,1],2] (input by user)