I modified the icdevice.m file to get more information. Error is being thrown in the following function call:
if (~libisloaded(driverName))
errflag = localLoadLib(driverName, binary, includeFile, includePath, visaIncludePath)
end
After attempts to call "loadlibrary" the following exception message is generated:
Deployed applications must use a prototype file instead of a header file. To create the prototype, use the loadlibrary mfilename option. Use the prototype file in compiled code. See http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/brb8oui.html for more information.