The ability to perform an operation equivalent to IMFILL using a shipped block is not available in the Video and Image Processing Blockset.
To work around this issue, if possible, either implement the function's algorithm in Simulink by using Embedded MATLAB or the blocks that are available in the Video and Image Processing Blockset.
Embedded MATLAB Function library (list of functions for which code generation is supported):
<http://www.mathworks.com/access/helpdesk/help/toolbox/eml/ug/bq1h2z7-9.html>
Block reference for the Video and Image Processing Blockset:
<http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/f6010dfi1.html>
Best Answer