Use of function of Image Processing Toolbox for code generation
Show older comments
Hi everyone,
I am doing some video processing with Simulink and I want to use the functions 'bwareaopen' and 'imclose' from the Image Processing Toolbox, I use the inside a Matlab Function block and I want to use Rapid Accelerator but I get the following error for both of them:
The function 'bwareaopen' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.
However, I found in Matlab documentation that the function does support it. Functions supported for Code Generation - Alphabetical List
When I use 'coder.extrinsic ('bwareaopen', 'strel','inclose'), the simulation runs, but it is too slow, so I am trying to speed it up.
I am using Matlab version R2013a.
Thanks in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Computer Vision Toolbox 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!