Error using compiler.r​untime.dow​nload Access is denied.

11 ビュー (過去 30 日間)
Stephanie Choi
Stephanie Choi 2022 年 1 月 2 日
編集済み: Walter Roberson 2022 年 1 月 2 日
Hi,
I am currently using R2020a matlab and I would like to download a complier.
I tried mcrinstaller and I don't seem to have the complier despite I have downloaded in my C:/MATLAB/Program files/MATLAB Runtime.
Then I tried compiler.runtime.download and it returned with Error using compiler.runtime.download. Access is denied.
Can anyone please help me with this problem?

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 1 月 2 日
編集済み: Walter Roberson 2022 年 1 月 2 日
MCR is not a compiler. It is a Runtime environment (set of libraries called by the code) for code that has been compiled using MATLAB Compiler, or MATLAB Compiler SDK.
There are different possible meanings of "Compiler" in your request.
There is a product named MATLAB Compiler, which is designed to take MATLAB code and create a stand-alone executable (that does not need MATLAB) to execute the MATLAB code; this is a closely related product named MATLAB Compiler SDK, which is designed to take MATLAB code and create code that can be called from .NET or Java or as .DLL or similar. MATLAB Compiler SDK requires MATLAB Compiler as a base product. MATLAB Compiler is expensive for commercial use (and is not available for Student or Home licenses, but is available for Academic licenses.)
Alternately, you might be needing a third-party products such as Microsoft Visual Studio, or MinGW, in order to compiler C or C++ or Fortran code. MinGW can be installed using the Add-On Explorer, but you have to get Visual Studios from Microsoft.

カテゴリ

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

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by