Trying to install a MATLAB Runtime executable

5 views (last 30 days)
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

Accepted Answer

Josep Llobet
Josep Llobet on 21 Feb 2022
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 Comment
Josep Llobet
Josep Llobet on 21 Feb 2022
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!