custom blocks

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

回答(1 个)

Mark
Mark 2011-2-11

0 个投票

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.

类别

在 帮助中心 和 File Exchange 中查找有关 Modeling 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by