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 comentarios

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

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 27 de Feb. de 2022

0 votos

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.

Más respuestas (0)

Categorías

Más información sobre C Shared Library Integration en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Etiquetas

Preguntada:

el 26 de Feb. de 2022

Editada:

el 27 de Feb. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by