Try running MATLAB in “Administrator” mode. Simulink may not be able to access the device if it is not successfully registered, and MATLAB must be running with full administrator privileges to register the device. You can do this with the following steps:
- Right-click on the MATLAB icon and select "Run as administrator".
- Once MATLAB opens, open a DAQ analog input demo by executing the following command in the MATLAB Command Window:
demodaqsl_aiao
- Double-click on the “Analog Input” block of “Data Acquisition Toolbox” in the demo to see if you are now able to access your device. The device should now be recognized.
Also, note that some data acquisition hardware is supported for use in MATLAB, but not in Simulink. You can check what is specifically supported for your hardware by searching for it in the hardware support catalog, linked below: