www.gusucode.com > visionhdl 源码程序 matlab案例代码 > visionhdl/VisionHDLToCameraLink.m

    function [F,L,D,pixelOut] = VisionHDLToCameraLink(ctrl,pixel)
% VisionHDL2CameraLink : converts one cycle of VisionHDL control signals 
% to CameraLink format, using a custom System object.
% Introduces one cycle of delay to both ctrl signals and pixel data.

persistent VHT2CL;
  if isempty(VHT2CL)
      VHT2CL = VHTtoCAMERALINK_Adapter();
  end
    
  [F,L,D,pixelOut] = step(VHT2CL,ctrl,pixel);