Standalone executable can't find Matlab Runtime, even though Runtime is installed. How do I fix this?
58 ビュー (過去 30 日間)
古いコメントを表示
Greg
2017 年 4 月 26 日
回答済み: Shruthi Mysore Sadashiva
2017 年 8 月 2 日
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!