Error using horzcat CAT arguments dimensions are not consistent.
Error in Untitled (line 26) msgbox(['the value is ',num2str(NN)])
please help
Best Answer
You are trying to concatenate a vector (your text) with a matrix. The dimensions are not consistent. You can use the CHAR function to automatically add some spaces to build a full matrix:
Best Answer