toolbox reuired by p-code not included in standalone executable

1 view (last 30 days)
I've compiled a p-code using mcc. All goes well except that the toolbox is not found by the executable.
The function is toolbox\map\map\makerefmat.m from mapping toolbox.
I believe this toolbox is not excluded for inclusion since it's in this list: https://ch.mathworks.com/products/compiler/supported/compiler_support.html
and only maptool and mapview are excluded.
That being said, when the Matlab runtime is installed, this toolbox is NOT present.
I thought mcc would find the code dependencies by itself, but given that all code is p-coded, it might be unable to do so. Especially because I had to include the directory with the rest of the p-coded functions with the -a option.
How can I include this toolbox and/or help mcc discover them?

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!