why does strel failed in MATLAB Coder
显示 更早的评论
Using MATLAB Coder in 2019b, the following line:
se = strel('line',20,85);
that MATLAB Coder is unable to effectively describe:
1.All inputs must be constant.
2.Function call failed
why is Coder having difficulty in strel?
does matlab coder support strel?
回答(1 个)
Pratheek Punchathody
2020-11-23
编辑:Pratheek Punchathody
2020-11-23
0 个投票
strel supports the generation of C code (requires MATLAB® Coder™). However,
- All input arguments must be compile-time constants.
- The methods associated with strel objects are not supported in code generation.
- Arrays of strel objects are not supported.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!