Abstract:Utilizing the powerful matrix calculating function from Matlab and the opensource characteristics from OpenSEES, this paper proposes a substructure testing system based on MatlabOpenSEES by adopting mixed programming. It introduces three basic components, which are the Matlab module, the OpenSEES numerical substructure simulation module and the interface function between Matlab and OpenSEES, and the principle of the proposed substructure system. The Matlab module is used to realize the function of solving motion equation, the loading control, and data acquisition of experimental substructure. The OpenSEES numerical substructure simulation module, which is a submodule called by Matlab module, is used to realize the numerical simulation analysis of numerical substructure. The interface is used to realize the data transmission between Matlab and OpenSEES by the text or Socket communication variables. The proposed system can be programmed on an external computer connected with the hardware I/O channel of the MTS electrohydraulic servo control system through the data acquisition card. In this way, the system can not only avoid the complex underlying programming technology of the electrohydraulic servo control system, but also reduce the requirement of system itself and finally reduce the test difficulty and cost. The test results of three largescale structure test models verify the feasibility of the proposed substructure testing system.