Trying to install a MATLAB Runtime executable

4 ビュー (過去 30 日間)
Josep Llobet
Josep Llobet 2022 年 2 月 21 日
コメント済み: Josep Llobet 2022 年 2 月 21 日
Hi there,
I am trying to install a MATLAB executable program in a one of my computers where I have not installed MATLAB. Then, I used MATLAB Compiler for compile the program and make it executable. The program runs in the computer where I have the MATLAB installed, but it does not run with the non-MATLAB installed computer.
I tryied to install the executable from the both MATLAB Compiler kind of settings 'Runtime downloaded from web' and 'Runtime incuded in package', but it does not work.
The problem that appear is that "there's not VCRUNTIME140.dll". I don't know.
I would like to install the executable in a non-MATLAB computer, in order to use it ahead.
Thank you very much

採用された回答

Josep Llobet
Josep Llobet 2022 年 2 月 21 日
Hi there again,
I didn't know the MATLAB Runtime was needed to be installed; I thought it used just as a .zip document.
Then, I uncompressed the MATLAB Runtime version which I compiled the program (2021a), and then install it.
↓ ↓ ↓ ↓ ↓
Then, I could execute my compiled executable program!!!!!! ^-^
Without having MATLAB installed in the computer, just the Runtime!
Note that, of the three diferent folders 'for_redistribution', 'for_redistribution_files', 'for_testing', obtained from the different MATLAB Compiler ("Runtime Downloaded from web", and "Runtime included in package"), the unique executable which worked on my computer was the one from 'for_testing' folder.
Note that the problem "VCRUNTIME140.dll" is a current problem in Windows, and it is about the Visual C++ installing. Surfin in internet I saw it's just turn to install the Visual C++ of Windows (looking this linked reference you will understand better).
Then thank you very much.
  1 件のコメント
Josep Llobet
Josep Llobet 2022 年 2 月 21 日
You can find the Upgrade links for the VCRUNTIME140 in the Microsoft website:
Curiously, the Runtime problem (VCRUNTIME140.dll) is not directly related with our MATLAB Runtime but indirectly with the Windows programs.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by