How can I run Matlab Runtime?

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 Commenti

Do you have a license for MATLAB Compiler?
wangm
wangm il 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.
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 il 27 Feb 2022
Modificato: wangm il 27 Feb 2022
Thanks. I need to check with IT department if I have Compiler license.

Accedi per commentare.

 Risposta accettata

Walter Roberson
Walter Roberson il 27 Feb 2022

0 voti

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.

Più risposte (0)

Categorie

Prodotti

Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by