how to convert matlab code to simulink?

Discussion in 'Programmer's Corner' started by agarama, Jun 24, 2009.

  1. agarama

    Thread Starter New Member

    Jun 24, 2009
    Hello people,
    I'm a new user of Simulink.
    i wrote an algo' for pupil detection in matlab,
    now i want to convert this code to simulink code
    because i want use my algo on real time camera.
    in my algo i'm using "BWlabel","Edge Detection"
    of matlab, i know that in simulink there is
    special blocks of "BWlabel" and "Edge
    but if i'll use it i'll need to break down my
    matlab code into a large number of embedded
    matlab blocks, i'm looking for a way to avoid
    this action.
    thank you for your suggestion,