This paper introduce the design and realize process of the calculation system of shaft which based on C++ Builder platform and using MATLAB as data processing tools.The paper makes main research work and conclusion:(1)Interface method of C++ Builder and MATLAB Article has discussed the programming MATLAB and high-grade language partially in detail. And has analyzed the defect and advantage and using condition of these methods. Then article have put forward the method that using CONSOLE file to realizes the interface between MATLAB and high-grade languages. This kind of method can raise program development efficiency, raises the stability of algorithm, and has great commercial value in actual application.(2)Theory of shaft calculation Article has discussed the theory calculate method of torsion vibration, portrait vibration, whirl vibration and alignment of ship shaft, then build the calculate mode of them. This is the theory background of the program which will be discussed in this paper.(3)Design and realize process of the calculation system of shaft:article has discussed the design of calculation system of ship shaft in detail. And go deep into analysis of the hot points in course of developing system such as interface realizing, input and output controlling, etc. Then use the example of 6800DWT Product Oil Tanker which designed by our company and the guidance note CB*/Z338-84 to test the veracity and the feasibility of the program.(4)The method used in this system not only exerted the superiority of C++ Builder on developing on win32 platform, but also made use ascendancy of MATLAB algorithm. Experiment result shows that it is conscientiously feasible that this system develop scheme and it is steady in control, advanced in algorithm, short in the system development cycle, and lower ,cost. |