undefined function error for builtin toolbox function
2 views (last 30 days)
Show older comments
I've licensed image processing toolbox on Matlab 2021b, and I'm getting the following error (below), with bwareaopen function
Undefined function 'eml_assert_all_constant' for input arguments of type 'double'
Any suggestions on how to resolve this?
0 Comments
Accepted Answer
More Answers (1)
Steven Lord
on 20 Jul 2022
If this recurs in the future, you don't need to reinstall. Likely you had a directory on your MATLAB path that contains an implementation used by MATLAB Coder when you try to generate code from the bwareaopen function. If you have the eml subdirectory in toolbox/images/images on your path, remove it from the path.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing 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!