필터 지우기
필터 지우기

Trying to install a MATLAB Runtime executable

조회 수: 18 (최근 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 CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by