Effacer les filtres
Effacer les filtres

How to include a toolbox to the MCR (runtime) environment?

21 vues (au cours des 30 derniers jours)
Kees de Kapper
Kees de Kapper le 28 Juin 2017
Dear all,
I'm using the functions vrrotvec2mat and vrrotvec which are part of the sl3d - toolbox. When I compile my program to run using the MCR (deployed-app) apparently this toolbox is not included.
How can I include a toolbox to the MCR-environment?
Many thanks in advance.
All the best, Kees

Réponses (2)

Image Analyst
Image Analyst le 28 Juin 2017
Mathworks toolbox functions that are allowed to be included (not all functions are) will be included. I think the sl3d toolbox is a third party toolbox. Perhaps they did something that makes their functions not be compilable. Ask the software publisher of that toolbox. I have a third party toolbox that I can compile, but I'm not sure every function can be included. You'll have to ask the publisher if they allow that.

Steven Lord
Steven Lord le 28 Juin 2017
The "sl3d toolbox" is actually Simulink 3D Animation and is a MathWorks product.
If you look on the MATLAB Compiler support page, which lists what functionality in each of our products (if any) is supported for use with MATLAB Compiler, I'm not certain if vrrotvec and vrrotvec2mat falls under command line functionality (which can be compiled) or the functionality in the "Cannot be compiled" column. I'm not familiar enough with that product to be certain.
I would check to see if you're doing something (like calling eval to evaluate either vrrotvec or vrrotvec2mat or calling it inside a callback string) that prevents MATLAB Compiler from detecting that you're calling it and including it in the application. If you don't see anything, please contact Technical Support using the Contact Us link in the upper-right corner and ask them for further help understanding this behavior.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by