How to find which toolboxes are required for compiled standalone app?

조회 수: 27 (최근 30일)
My question is straightforward:
Is there away to check which toolbox are required after mcc command.
I can see the file requiredMCRProducts.txt produced by mcc as example contains the list of "Product IDs" like this
35000 35003 35010 35106
It does not speak to me much, is there any way to know what kind to toolbox/version behind those numbers?
Or is there anotherway to figure it out?

채택된 답변

Wave
Wave 2023년 6월 5일
이동: Stefanie Schwarz 2024년 8월 22일
pcmn = matlab.depfun.internal.ProductComponentModuleNavigator;
pcmn.productInfo(35000) % Insert your number here

추가 답변 (1개)

Mario Malic
Mario Malic 2023년 6월 5일
Hello,
Are you able to put your codes in a project? There is a Dependency Analyzer app which you can run and it tells you the required toolboxes.
  댓글 수: 1
Stefanie Schwarz
Stefanie Schwarz 2024년 8월 22일
편집: Stefanie Schwarz 2024년 8월 22일
Since R2023a, Dependency Analyzer also works for files that are not in a project. It can be opened from the MATLAB apps gallery.
However, MATLAB Runtime works with other products components compared to MATLAB Desktop. So the list in requiredMCRProducts.txt may be different from the "regular" required toolboxes.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Standalone Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by