MATLAB Control Code for 1024 Board (4x256 boards)