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!