Trying to install a MATLAB Runtime executable

4 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Introduction 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