This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This problem happens due to a mismatch in the DeviceID field. To work around this issue, download and replace the attached zip file which contains both DI and DO driver files and their respective DLLs. Here are the required steps:
1. Quit MATLAB
2. Rename the following files:
$MATLAB\toolbox\toolbox\rtw\targets\xpc\target\build\xpcblocks\dicbpcipdisox.c
$MATLAB\toolbox\toolbox\rtw\targets\xpc\target\build\xpcblocks\dicbpcipdisox.dll
$MATLAB\toolbox\toolbox\rtw\targets\xpc\target\build\xpcblocks\docbpcipdisox.c
$MATLAB\toolbox\toolbox\rtw\targets\xpc\target\build\xpcblocks\docbpcipdisox.dll
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing
at the MATLAB command prompt.)
Rename the file to filename.c.old or filename.dll.old
3. Download the attached PDISO8.zip file to a temporary directory. Unzip the PDISO8.zip and extract the new files to the same directory mentioned in step 2.
4. Restart MATLAB
5. After restarting MATLAB, issue the following command at the MATLAB prompt:
Please note that MEX-files generated with one release of MATLAB are not guaranteed (or expected) to work with a different release of MATLAB. This is due to changes that may occur in the MEX-file libraries between releases of MATLAB. The attached DLL files were compiled for xPC Target version 2.7.2 (R14sp2). If you are running an older version of MATLAB you might have to recompile the attached C files to regenerate new MEX-file DLLs compatible with your current MATLAB version. This can be done using the MEX function as follows:
Best Answer