What is the problem of Serial.begin in matrix?

I don't see a matrix. Please post complete code and use code tags (the red 'circled' button in below image).

Your picture in the opening post does not seem to show.