"cpselect.m" excluded from packaging
5 views (last 30 days)
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
Shraddha Jain on 3 Jun 2021
Edited: Shraddha Jain on 3 Jun 2021
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!