Unable to identify/use MCR version for compiled Matlab program
显示 更早的评论
I have created an exe file using my Matlab Compiler. I've shared this file with a colleague along with the relevant MCR (64bit R2011b, v716). Originally, it worked fine after installing the MCR. However, something changed on my colleague's computer and now he cannot run the program. The reported error states that the proper version of the MCR could not be found. What I've done is:
1) uninstall all versions of Matlab on the machine
2) uninstall all versions of the MCR on the machine
3) remove all Matlab related registry items located in the admin and personal user account (HKEY_CURRENT_USER\Software\Mathworks\...)
4) Re-install MCR v716
5) Verify environment variable is properly located/named to point to the directory with the MCR installation. I also verified that no other environment variables should conflict.
Important system information:
MATLAB Version 7.13 (R2011b)
MATLAB Compiler Version 4.16 (R2011b)
Primary OS (on system where exe was created): Windows 7 - 64bit
Secondary OS (on system where exe is being run): Windows 7 - 64bit
Is it possible that a dll from another program is causing a problem? Previously, I think an Adobe update affected my Matlab installation/licensing. It required deleting a specific *.dll file, but I don't recall the exact details. I haven't been able to find a forum discussion related to this.
1 个评论
Yatin
2013-11-7
Hey Mike,
The MCR should be first on your environment PATH. Have you checked this? In my opinion, there should not be any effect on the MCR due to Adobe updates.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!