Equivalent function to functions that are not supported for standalone code generation.
Show older comments
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 Comment
Jan
on 17 Dec 2012
Answers (1)
Jan
on 17 Dec 2012
0 votes
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.
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!