Equivalent function to functions that are not supported for standalone code generation.
이전 댓글 표시
Hi everybody,
I have a model using Computer vision system toolbox. In the model I have included a Simulink-User defined function. My script use Matlab functions like im2double, im2bw, graythresh, imfill, imopen, imclearborder and bwlabel.
When I run my app, I get errors like: The function 'im2double' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.
NB: My script works fine outside of Model.
My question is: Are there in the model programming functions equivalent to those mentioned above and if yes where can I find them?
Please Help me. Thank you in advance for answers,
Patrick
댓글 수: 1
Jan
2012년 12월 17일
답변 (1개)
Jan
2012년 12월 17일
0 개 추천
While you can emulate im2double and im2bw more or less easily (just look in the source code of this function), the other commands are not trivial. I assume a complete reprogramming of these commands is far to complicated, such that I think, you cannot run this a stand-alone application.
카테고리
도움말 센터 및 File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!