How can I run Matlab Runtime?

10 vues (au cours des 30 derniers jours)
wangm
wangm le 26 Fév 2022
Modifié(e) : wangm le 27 Fév 2022
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 commentaires
Walter Roberson
Walter Roberson le 27 Fév 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 le 27 Fév 2022
Modifié(e) : wangm le 27 Fév 2022
Thanks. I need to check with IT department if I have Compiler license.

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 27 Fév 2022
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.

Plus de réponses (0)

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by