Using imresize function for matlab coder
显示 更早的评论
Hello, I am trying to use MATLAB coder to generate C code for imresize function as follows:
% code
function P = test_resize(I)
%#codegen
coder.varsize('I',[]);
coder.varsize('P',[]);
P = imresize(I,'scale',0.5,'Method','bilinear');
end
However, the code generation readiness fails as shown in the following image:

any suggestions?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Automated Fixed-Point Conversion in MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!