Create pixel-streaming control bus instance
a bus instance in the workspace. This instance is required for HDL
code generation. Call this function before you generate HDL code from Vision HDL Toolbox™ blocks.
InitFcn callback function of your Simulink® model, include this line to declare a bus instance in the base
workspace. If you create your model with the Vision HDL Toolbox model template, this is done for you.
If you do not declare an instance of
the base workspace, you might encounter this error when you generate HDL
code in Simulink.
Cannot resolve variable 'pixelcontrol'