Equivalent function to functions that are not supported for standalone code generation.
Mostrar comentarios más antiguos
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 comentario
Jan
el 17 de Dic. de 2012
Respuestas (1)
Jan
el 17 de Dic. de 2012
0 votos
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.
Categorías
Más información sobre Computer Vision Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!