why does strel failed in MATLAB Coder

2 visualizaciones (últimos 30 días)
HSIU-YUN CHIEN
HSIU-YUN CHIEN el 19 de Nov. de 2020
Editada: Pratheek Punchathody el 23 de Nov. de 2020
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?

Respuestas (1)

Pratheek Punchathody
Pratheek Punchathody el 23 de Nov. de 2020
Editada: Pratheek Punchathody el 23 de Nov. de 2020
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.
For more information regarding the limitations and known issues please refer to the documentation

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by