필터 지우기
필터 지우기

Matlab coder "All inputs must be constant"

조회 수: 4 (최근 30일)
itai
itai 2019년 5월 27일
Hi,
I tried to generate my code to Mex and to C++ using the Matlab coder.
In my m.file I want to do the following lines:
h = round(a*b + b0);
bw_blobs = imclose((clr_cand)>0,ones(h));
When "a" and "b0" are constants and "b" is variable which change between eatch running.
When i tried to generate the code I got the next error message:
"All inputs must be constant"
how can I solve this error?
Please your advise.
Thanks,
Itai

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by