Best approach for implementing simple Image Processing in Simulink

11 vues (au cours des 30 derniers jours)
Arturo Medina
Arturo Medina le 5 Mar 2015
Commenté : Arturo Medina le 6 Mar 2015
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.
  1 commentaire
Arturo Medina
Arturo Medina le 6 Mar 2015
I finally solved this problem by using the S-Function block.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by