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

26 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Wave
Wave el 5 de Jun. de 2023
Movida: Stefanie Schwarz el 22 de Ag. de 2024
pcmn = matlab.depfun.internal.ProductComponentModuleNavigator;
pcmn.productInfo(35000) % Insert your number here

Más respuestas (1)

Mario Malic
Mario Malic el 5 de Jun. de 2023
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 comentario
Stefanie Schwarz
Stefanie Schwarz el 22 de Ag. de 2024
Editada: Stefanie Schwarz el 22 de Ag. de 2024
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Standalone Applications en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by