When I comment the "igtby=zeros(1,34);" part, then I get this error:
"Error in default port dimensions function of S-function 'M1_Hatti_TrenSayisiArttirmaDenemesi/Model ayrık/TrendekiBosYer_TrendenInenler_FnBlck/MATLAB Function1'. This function does not fully set the dimensions of output port 3"
But this block only have 2 outputs, where does the 3rd output come? I think the block is corrupted, but when I create a fresh one, it behaves the same.
Any thoughts?