how to convert matlab code to simulink?

agarama

agarama

@agarama-8fRrvx • Oct 17, 2024

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 Detection",
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,
Aviv.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • CEMember

    CEMember

    @cemember-PlqlWH Jul 2, 2009

    Hi agarama,

    Are you able to solve the problem asked ? If so, Please share the code and tell us also how it is done. 😀