
444 Accelerating MATLAB
®
Performance
the Ethernet communication goes: the protocol overhead would be too large relative to the
payload size. A much better option would be to run in burst mode,
1273
so that the sent and
received data would be packed into packages.
% System Object run, burst mode
in_pix_vect = in_frame(:);
[~, out_pix_vect] = step(MYFIL,in_pix_vect); % Vectorized
out_frame = uint8(reshape(out_pix_vect,size(in_frame)));
The usage of the burst mode may improve the FPGA in the loop run performance by two
and more orders of magnitude! A technique that is well worth remembering.
8.3.3 Run-Time Measurements
Now that we have all componen ...