Which toolboxes are included in the MATLAB Runtime (MCR) for 2021a
조회 수: 32 (최근 30일)
이전 댓글 표시
I've got an app that requires some MathWorks toolboxes (beyond base MATLAB). I can't seem to find a straight answer when looking around in the documentation. Which official MathWorks toolboxes are included in the 2021a runtime and/or not included? (if that's a shorter list)
댓글 수: 0
채택된 답변
Walter Roberson
2022년 2월 18일
편집: Walter Roberson
2022년 2월 18일
None of them are included in MCR.
All toolboxes are layered on top of MATLAB. When you compile something using MATLAB Compiler, then any toolboxes you need are detected, and the components of them you need are copied in.
Which toolboxes can be used with MATLAB Compiler is a different question. The technology of some of the toolboxes is not compatible with MCR. See https://www.mathworks.com/products/compiler/compiler_support.html
댓글 수: 5
Walter Roberson
2022년 2월 21일
MATLAB Compiler would see the calls in your code and would copy in enough to satisfy the needs of the code. It just does not build those functions into MCR "just in case" some code might want to use them.
If you are referring to MATLAB Coder then I don't think it handles drawrectangle but I would need to confirm. It is more likely to support Computer Vision insertShape()
Steven Lord
2022년 2월 21일
If we filter the list of Image Processing Toolbox functions to show only those that support the extended capability of C/C++ Code Generation, we see that drawrectangle is not listed. This is confirmed by the fact that its documentation page doesn't have an Extended Capabilities section. The VideoReader function's documentation page does have an Extended Capabilities section that lists some usage notes and limitations for its use in C/C++ Code Generation. The insertShape function also lists C/C++ Code Generation in the Extended Capabilities section of its documentation page.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!