I'd like to share the answer that I've found. The problem has been solved by initialization of output parameters to define their type. If "N" is the number of Rules in FIS, "I" is the number of input variables in FIS, and "O" is the number of output parameters, then the outputs should define like this:
output=0;
IRR=zeros(N,I);
ORR=zeros(N,O);
ARR=zeros(N,O);
where you exactly know the "N", "I", "O" (or at least restrict their upper bound). This is because Simulink needs to know the exact type of variables at the beginning of Matlab Function (which is not necessary in Matlab).