When using upper computer software to handle industrial problems such as dual capacity water tanks,the functionality is often difficult to meet the standards of industrial automation.However,MATLAB's excellent engineering com-puting characteristics make it an ideal choice.This paper uses OPC technology to address this issue,and through experi-ments,It can achieve real-time data exchange between KingView and MATLAB.