MATLAB: Does the stand-alone application fail to find MEX-files from ‘private’ folders in the MATLAB toolboxes when deployed

buildercomcompilerdeploydeploymentexcelfailedfoldersimageMATLAB Compilermexpathpcprivateprocessingstand-alonestandalone

I receive the error:
MEX file not found on PATH
when using either the Image Processing Toolbox, MATLAB Excel Builder, or MATLAB COM Builder.

Best Answer

The current fix to this problem is to recreate the MATLAB path on the deployment computer.
For example, consider the DLL:
C:\matlab6p5\toolbox\images\images\private\imhistc.dll.
On the deployment computer, you will need to create the entire tree:
c:\matlab6p5\toolbox\images\images\private\imhistc.dll.