Which toolboxes are included in the MATLAB Runtime (MCR) for 2021a
32 views (last 30 days)
Show older comments
Kris Hoffman
on 18 Feb 2022
Commented: Steven Lord
on 21 Feb 2022
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 Comments
Accepted Answer
Walter Roberson
on 18 Feb 2022
Edited: Walter Roberson
on 18 Feb 2022
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 Comments
Walter Roberson
on 21 Feb 2022
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
on 21 Feb 2022
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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!