I have Matlab 2020b installed in my computer but without Matlab Runtime.
Because I want to compile a matlab code to an exeuctable file, I downloaded the runtime v9.9 from Matlab and installed it.
But I still cannot run the deploytool or mcc from Matlab command line and says 'deploytool' requires one of the followings:
MATLAB Complier
MATLAB Complier SDK.
Does anyone know the reason?

4 Kommentare

Kevin Holly
Kevin Holly am 27 Feb. 2022
Do you have a license for MATLAB Compiler?
wangm
wangm am 27 Feb. 2022
Does Matlab Compiler required additional license and need to be purchased?
I have license for Matlab. I thought Matlab includes the Compiler.
Walter Roberson
Walter Roberson am 27 Feb. 2022
MATLAB Compiler is an expensive product.
More expensive than MATLAB itself, because it allows you to distribute unlimited copies of the compiled executable with no royalty charge, and each of those represents a potential lost sale.
wangm
wangm am 27 Feb. 2022
Bearbeitet: wangm am 27 Feb. 2022
Thanks. I need to check with IT department if I have Compiler license.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 27 Feb. 2022

0 Stimmen

MATLAB Runtime (MCR, MATLAB Component Runtime) is an execution-only environment that cannot compile anything.
You need the MATLAB Compiler product, and possibly MATLAB Compiler SDK product as well.

Weitere Antworten (0)

Kategorien

Produkte

Version

R2020b

Gefragt:

am 26 Feb. 2022

Bearbeitet:

am 27 Feb. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by