custom blocks

6 views (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)

Mark
Mark 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.

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!