Abstract

Generally there is only single computer language have been used in the atmospheric products programming, such as Fortran or C++. Most weather radar products have been developed by C++,and also part products programmed with MATLAB. It is more complex than using C++ when reading radar base data since the stronger C++ pointer. This paper studies the designing techniques and realizing methods of weather radar product developed synthetically by C++ and MATLAB so as to take advantage of both languages strongpoint, reducing the number of source code and improving the program efficiency. This paper researches the communicate between C++ and MATLAB ,which integrates with the structure of weather radar data, through a special C++ language structure mxArray introduced by MATLAB for the suitable radar data transferring as well as function operating. The radar products experiment shows that compared with just using C++ language, the number of the improved program code has been reduced drastically as MATLAB, commercial mathematic software developed by MathWorks, is an advanced language compared with C language. It has the multi-purpose circumstance to arithmetic manufacture, data visibility, data analysis and numerical value calculation. MATLAB is short for Matrix Laboratory and which is second to none in the field of numerical value calculation. MATLAB has a great predominance in the matrix calculation, function operated, data process, arithmetic realization and figure visibility. Matrix is the basic data type of MATLAB and its command is similar with our daily life. Therefore, MATLAB is more convenience than C++ and Fortran (1) . However, there is an essential limitation that the MATLAB model establishing and modification could not be initialized than in MATLAB circumstance in the previous version. Then later in the version 5.2 of MATLAB, the MATLAB Compiler comes. MATLAB Compiler is a separate operational module, which could transfer the M-file to C or C++ code, and then those codes could be integrated into VC++ projects. At the same time, we also could let the MATLAB C++ MathLibrary in our projects so as to generate the executable content without MATLAB and shorten the products developing period. At present, most meteorological computer programs were developed by single language such as C++ or Fortran or Dephi and so on. The weakness is obviously, which include the longer developing period, the waste of resource and the like. This paper takes the weather radar data interpolating and SVVP (2) methods as examples to research the key point of the VC++/MATLAB Synthetic develop technology in the field of atmospheric science. The interface statement introduced below could be employed easier between VC++ and MATLAB, which can exert both language superiority fully and the structure of the weather radar program could be more palpability. In addition, the period of developing could be decreased than before.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.