Standalone executable can't find Matlab Runtime, even though Runtime is installed. How do I fix this?
79 次查看(过去 30 天)
显示 更早的评论
I successfully created a standalone executable from my Matlab code. I can compile it and run it on the same computer, and all looks good.
I now want to try running it on a "target" computer. I compiled the executable using Matlab 2016a (Runtime 9.0.1). I downloaded the same version of Matlab Runtime on the target computer (9.0.1), and I can see it in C:/Program Files/MATLAB/MATLAB Runtime/v901/. (There's also an older version of Runtime, v85.)
However, when I try to run the executable on the target computer it gives me this error:
Could not find version 9.0.1 of the MATLAB Runtime.
Attempting to load mclmcrrt9_0_1.dll.
Please install the correct version of the MATLAB Runtime.
But as far as I know, I do have Runtime 9.0.1 installed! Why can't my executable find it?
0 个评论
采纳的回答
Shruthi Mysore Sadashiva
2017-8-2
I understand that you have a correct version of MATLAB runtime installed in the target machine. You could find the list of different mcr installers on : https://www.mathworks.com/products/compiler/mcr.html
Along with this, your system variable "PATH" should contain the installed MATLAB Runtime folder path. This document link gives the information on the same: https://www.mathworks.com/help/compiler_sdk/cxx/mcr-path-settings-for-run-time-deployment.html#btnytqp-5
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!