How do I compile an MATLAB file that uses morphological functions from the Image Processing Toolbox?
1 view (last 30 days)
Show older comments
I would like to know how to compile an MATLAB file that uses morphological functions from the Image Processing Toolbox using MATLAB Compiler.
Accepted Answer
MathWorks Support Team
on 15 Jan 2010
If you are using any morphological functions in the MATLAB file that you are trying to compile, copy all the files from:
$MATLABROOT/toolbox/images/images/@strel
(where $MATLABROOT is the root directory where MATLAB is installed)
into your working directory, or somewhere on the MATLAB path so that the compiler can see them.
Note: This is not a general way to compile user-defined classes (this is a specific workaround provided for the Image Processing Toolbox).
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!