"cpselect.m" excluded from packaging

4 views (last 30 days)
xi
xi on 23 Apr 2021
Edited: Shraddha Jain on 3 Jun 2021
I got this message in "PackagingLog.html" when trying to package an application
Excluded "C:/Program Files/MATLAB/R2019b/toolbox/images/imuitools/cpselect.m"; reason: The file or function has been excluded from packaging for the "MCR" target environment according to the "Compiler" license
Is there a way to solve this

Accepted Answer

Shraddha Jain
Shraddha Jain on 3 Jun 2021
Edited: Shraddha Jain on 3 Jun 2021
Hi Xi,
MATLAB Compiler does not support deployment of all built-in functions. If a user invokes an unsupported function in a deployed application, the application will not work as expected.
In your case, the function cpselect from the Image Processing Toolbox is not supported by the MATLAB Compiler and that is why you are seeing the above error. You can check the complete list of Support for MATLAB, Simulink and Toolboxes for more information.
Hope this helps!

More Answers (0)

Community Treasure Hunt

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

Start Hunting!