In order to register a Data Acquisition Toolbox adaptor, the MATLAB process needs administrative privileges. On Windows Vista and Windows 7, when UAC is enabled, even users who are part of the local Administrators group would have their administrative privileges disabled, resulting in this error message.
To work around this issue MATLAB should be run once in elevated Administrative mode in order to register the Data Acquisition Toolbox adaptor:
1. Right click on the MATLAB shortcut or the file MATLAB.exe and select "Run as Administrator".
2. Once MATLAB starts execute the DAQREGISTER command as normal.
3. Close MATLAB and start it as usual.
Similarly, in Simulink data acquisition that uses legacy interface, above workaround helps, if the device is not being detected inside the DAQ blocks. This issue is specific to Data Acquisition with Legacy interface in 32 bit MATLAB.
The workaround mentioned above also works well for Data Acquisition Toolbox installed on Windows 7.