Leonardo and MATLAB interface?

I am still having problem in interfacing matlab with leonardo as when i try to make connection(a=arduino('COM5')) the connection is not made and it shows
a=arduino('COM5')
Attempting connection .............
Warning: A timeout occurred before the Terminator was reached.
??? Error using ==> arduino>arduino.arduino at 104
Connection unsuccessful, please make sure that the board is powered on, running a sketch
provided with the package, and connected to the indicated serial port. You might also try to
unplug and re-plug the USB cable before attempting a reconnection.

and at 104 i got in my arduino.m file is
if isempty(a.sktc)
delete(a);
error('Connection unsuccessful, please make sure that the board is powered on, running a sketch provided with the package, and connected to the indicated serial port. You might also try to unplug and re-plug the USB cable before attempting a reconnection.');
end