Best approach for implementing simple Image Processing in Simulink

Hello to everyone,
I need to implement a Simulink model that acquires an image and performs some basic processing on it, in order to obtain the coordinates of a dot which is drawn on a piece of paper. I have been able to do so in a Matlab script, using functions such as im2bw, bwlabel, etc. But now I want to implement the same functionality in Simulink.
So far, I have tried using the code that I had in Simulink with the interpreted Matlab Function and Matlab Function blocks, without success. I think that there must be an easy way of doing this, since I do not need to perform a very complex analysis.
I would be grateful if someone had any suggestions regarding this issue.
Thanks in advance.

Answers (0)

Asked:

on 5 Mar 2015

Commented:

on 6 Mar 2015

Community Treasure Hunt

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

Start Hunting!