Is there a smaller MCR?

7 ビュー (過去 30 日間)
David Pesetsky
David Pesetsky 2017 年 12 月 1 日
コメント済み: David Pesetsky 2017 年 12 月 2 日
Hey. We're moving to cloud computing. We want to make stand-alone Matlab exe's. But the required MCR is to big to keep copying over and over on each node. How can we get a compact MRC, or stand-alone exe with only what we need in that?
  1 件のコメント
Rik
Rik 2017 年 12 月 1 日
As far as I know, you can't with Matlab. You will have to generate the c-code, copy the MCR, or move to another program that will run Matlab code.
I would be happy to learn I'm wrong on this one.

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2017 年 12 月 2 日
Do you include the runtime libraries and all toolbox function in the compiled application?
I've installed the runtime libraries once only and selected only the used toolboxes. Then the resulting executables are not huge, about 150kB. What is the maximum size you would tolerate?
  3 件のコメント
Jan
Jan 2017 年 12 月 2 日
@David: Did you read my answer? Please explain, what "too large" means in absolute values. I'm not asking for fun, but to estimate, if your problem can be solved.
The MCR is not needed in each compiled application. You can install it once. If you are working with the deploytool, you can uncheck the "Add MCR" and "Embed the MCR in the package" feature.
David Pesetsky
David Pesetsky 2017 年 12 月 2 日
The team just tells me it's too expensive to keep loading the MCR onto each Amazon Cloud node. We don't own them, so no chance to install anything.
Perhaps we can code in such a way as not to need MCR....

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by