custom blocks

1 view (last 30 days)
Kartikeya Shukla
Kartikeya Shukla on 11 Feb 2011
how do I make a custom block in simulink? that is I wish to connect my web camera to a block which will perform a standard MATLAB function,like imregionalmax etc.
thanks in advance

Answers (1)

MarkB on 11 Feb 2011
I would recommend making a "Level 2 M-file S-function". This is available in the "user-defined functions" section of the Simulink library browser. The documentation has more details about how to implement it.


Community Treasure Hunt

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

Start Hunting!