필터 지우기
필터 지우기

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

조회 수: 21 (최근 30일)
Kees de Kapper
Kees de Kapper 2017년 6월 28일
답변: Steven Lord 2017년 6월 28일
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

답변 (2개)

Image Analyst
Image Analyst 2017년 6월 28일
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 2017년 6월 28일
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.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by