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

Answers (1)

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

Tags

No tags entered yet.

Asked:

on 17 Dec 2012

Community Treasure Hunt

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

Start Hunting!