How can I run Matlab Runtime?

16 views (last 30 days)
wangm
wangm on 26 Feb 2022
Edited: wangm on 27 Feb 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 Comments
Walter Roberson
Walter Roberson on 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 on 27 Feb 2022
Edited: wangm on 27 Feb 2022
Thanks. I need to check with IT department if I have Compiler license.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 27 Feb 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.

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!