can't upload my sketch,i think problem is serialport and using matlab serialport

please help me with this error :confused:
I have uploaded my sketch and it worked well
but after I used Matlab serial port ...and then upload my sketch; I see this error even if I have closed Matlab serial port

Sketch uses 34272 bytes (6%) of program storage space. Maximum is 524288 bytes.
processing.app.debug.RunnerException
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:160)
	at cc.arduino.UploaderUtils.upload(UploaderUtils.java:82)
	at processing.app.SketchController.upload(SketchController.java:736)
	at processing.app.SketchController.exportApplet(SketchController.java:703)
	at processing.app.Editor$DefaultExportHandler.run(Editor.java:2028)
	at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM5'.
	at processing.app.Serial.touchForCDCReset(Serial.java:107)
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:144)
	... 5 more
Caused by: jssc.SerialPortException: Port name - COM5; Method name - openPort(); Exception type - Port not found.
	at jssc.SerialPort.openPort(SerialPort.java:167)
	at processing.app.Serial.touchForCDCReset(Serial.java:101)
	... 6 more

Does the port still show up under the Arduino IDE's Tools > Port menu?

Try restarting your computer. Sometimes serial ports will get stuck in an unusable state, and restarting the computer fixes this.