Arduino, matlab and servo control

suppose if i have 5 servo how do i change the void loop?

You need to send more data. You need to send which servo the data is for as well as the data for the servo.

Then, you read two bytes of data - servo # and servo val - and move the corresponding servo. And, hope like hell no serial data ever gets lost. Don't forget that you need to wait for two or more bytes, not one or more, too.