I'm using 2012b and a USB2000 spectrometer, once I run the program it shows this:
Error using icdevice/connect (line 113)
An error occurred while executing the driver connect code.
Spectrometer not found, Please make sure the spectrometer is connected properly.
If this error is not an instrument error, use MIDEDIT to inspect the driver.
Error in demo_OceanOptics (line 24)