The issue is most likey due to having multiple user-defined sound.m files.
Replace sound(signal, fs) with the following code
player = audioplayer(signal,fs);
If it is playing for the above code, execute the following line
If it returns more than one sound.m location, rename all the sound.m files in location other than MATLAB builtin path which ends with toolbox\matlab\audiovideo\sound.m