Custom blocks expand the modeling functionality provided with the Simulink® product. Use a custom block to:
Model behaviors that are not provided with a Simulink built-in solution.
Build more advanced models.
Encapsulate model components into a library block that you can copy into multiple models.
Provide custom graphical user interfaces or analysis routines.