资源预览内容
第1页 / 共5页
第2页 / 共5页
第3页 / 共5页
第4页 / 共5页
第5页 / 共5页
亲,该文档总共5页全部预览完了,如果喜欢就下载吧!
资源描述
Basics of MATLAB and BeyondIntroductionMATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numeric computation. Using MATLAB, you can solve technical computing problems faster than with traditional programming languages, such as C, C+, and Fortran. You can use MATLAB in a wide range of applications, including signal and image processing, communications, control design, test and measurement, financial modeling and analysis, and computational biology. Add-on toolboxes (collections of special-purpose MATLAB functions, available separately) extend the MATLAB environment to solve particular classes of problems in these application areas. MATLAB provides a number of features for documenting and sharing your work. You can integrate your MATLAB code with other languages and applications, and distribute your MATLAB algorithms and applications.Software IntroductionThe MATLAB environment is well suited to rapid prototyping and application development. The interactive programming environment, built-in math functions, toolboxes, editing and debugging tools, and deployment options all contribute to reducing your overall development time. By using the built-in math functions and the many specialized functions contained within our toolboxes, MATLAB can significantly reduce the time it takes you to develop prototypes. In addition to integrated editing and debugging tools, MATLAB provides a performance profiler to help you further optimize your code when programming in MATLAB. Building applications around complex algorithms and graphics is easier than ever with the GUI builder, GUIDE. GUIDE was redesigned in MATLAB 6 to save you time. It offers all the drag and drop interface options you would expect, such as text boxes, radio buttons, check boxes, listboxes, sliders, pop-up menus, frames and more. When youre ready to deploy your application, the MathWorks offers a number of different options that allow you to either convert or interface your MATLAB application to other environments including C/C+ and the Web. MATLAB is the most productive development environment for creating scientific and engineering applications because it offers powerful tools for every step in the process to reduce your overall development time.Use MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation. Typical uses include Math and computation Algorithm development Data acquisition Modeling, simulation, and prototyping Data analysis, exploration, and visualization Scientific and engineering graphics Application development, including graphical user interface buildingCompiled files Type The MATLAB Compiler takes M-files as input and generates C or C+ source code or P-code as output. The MATLAB Compiler can generate these kinds of source code:C source code for building MEX-files.C or C+ source code for combining with other modules to form stand-aloneapplications. Stand-alone applications do not require MATLAB at run-time;they can run even if MATLAB is not installed on the end-users system.C code S-functions for use with Simulink.C shared libraries (dynamically linked libraries, or DLLs, on Microsoft Windows) and C+ static libraries. These can be used without MATLAB on the end-users system.Excel compatible plug-insCOM (Component Object Model) objects.Differences Between C+ and MATLABMost MATLAB expressions translate into C+ with no effort very often the MATLAB and C+ are identical. There are some differences in syntax, of course, but it is important to realize that the C+ interface is substantially the same as the M-file interface.Introducing mbuildThe MathWorks utility, mbuild, lets you customize the configuration and build process. The mbuild script provides an easy way for you to specify an options file that lets you Set your compiler and linker settings Change compilers or compiler settings Switch between C and C+ development Build your applicationThe MATLAB Compiler (mcc) automatically invokes mbuild under certain conditions. In particular, mcc -m or mcc -p invokes mbuild to perform compilation and linking.COM componentsComponent Object Model (referred to COM) is a software architecture that allows applications software from different manufacturers to build components. Generally speaking, application software source code is usually compiled by the static link from the binary executable code. Due to the lack of the necessary standards, the code once compiled, it will be difficult to carry out the expansion of development. Even if the same software, you want to expand the development o
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号