Use of function of Image Processing Toolbox for code generation

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.

 採用された回答

Steven Lord
Steven Lord 2015 年 10 月 16 日

0 投票

The documentation to which you linked is for the most recent release, which is currently release R2015b. According to the first entry in the Release Notes for release R2015b of Image Processing Toolbox BWAREAOPEN was enabled for code generation with MATLAB Coder in release R2015b.

1 件のコメント

Samuel
Samuel 2015 年 10 月 16 日
Thank you very much for the clarification

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

質問済み:

2015 年 10 月 16 日

コメント済み:

2015 年 10 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by