




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、外文原文IntroductionMATLAB is a high-level technical computing Ianguage and in teractive en vir onment for algorithm devel opment, data visualizatio n, data analysis, and numeric computation. Using MATLAB, you can solve technical computing problems faster than with traditional p rogram ming Ian guages,
2、such as C, C+, and Fortra n.You can use MATLAB in a wide range of app licati ons, in clud ing sig nal and image p rocess ing, com muni catio ns, con trol desig n, test and measurement, financial modeling and analysis, and computational biology. Add-on toolboxes (collections of special-purpose MATLAB
3、 functions, available separately) extend the MATLAB environment to solve p articular classes of p roblems in these app licati on areas.MATLAB provides a number of features for documenting and shari ng your work. You can in tegrate your MATLAB code with other Ianguagesand applications, and distribute
4、 your MATLAB algorithms and app licati ons.Software IntroductionThe MATLAB en vir onment is well suited to rapid p rotot yping and app licati on devel opment. The in teractive p rogram ming en vir onment, built-i n math functions, toolboxes, edit ing and debuggi ng tools, and deployment op ti ons al
5、l con tribute to reduci ng your overalldevel opment time.addition toprovides acode whenBy using the built-in math functions and the many specialized functions contained with in our toolboxes, MATLAB can sig nifica ntly reduce the time it takes you to develop prototypes. In integrated editing and deb
6、ugging tools, MATLAB performanee profiler to help you further optimize your p rogram ming in MATLAB.Buildi ng app licati ons around comp lex algorithms and grap hics is easier tha n ever with the GUI builder, GUIDE. GUIDE was redesig ned in MATLAB 6 to save you time. It offers all the drag and drop
7、in terface op ti ons you would exp ect, such as text boxes, radio butt ons, check boxes, listboxes, sliders, pop-up menus, frames and more.When youre ready to deploy your application, the MathWorks offers a nu mber of differe nt op ti ons that allow you to either convert or in terface your MATLAB ap
8、p licati on to other en vir onments in cludi ng C/C+ and the Web. MATLAB is the most p roductive develo pment en vir onment for creat ing scie ntific and engin eeri ng app licati ons because it offers powerful tools for every step in the process to reduce your overall devel opment time.UseMATLAB? is
9、 a high-p erforma nee Ian guage for tech ni calcompu ti ng. It in tegrates compu tati on, visualizati on, and p rogram ming in an easy-to-use en vir onment where p roblems and soluti ons are exp ressed in familiar mathematical no tati on. Typi cal uses in clude? Math and compu tatio n? Algorithm dev
10、el opment? Data acquisiti on? Modeli ng, simulati on, and p rotot yping? Data an alysis, expIo rati on, and visualizati on? Scie ntific and engin eeri ng grap hics? App licati on devel opment, in clud ing grap hical user in terface buildi ngCom piled files TypeThe MATLAB Comp iler takes M-files as i
11、nput and gen erates C or C+ source code or P-code as out put. The MATLAB Comp iler can gen erate these kinds of source code:?C source code for buildi ng MEX-files.?C or C+ source code for combi ning with other modules to form sta nd-al oneapp licati ons. Stan d-al one app licati ons do not require M
12、ATLAB at run-time;they can run eve n if MATLAB is not in stalled on the end-user s system.?C code Sfunctions for use with Simuli nk?.?C shared libraries (dynamically linked libraries, or DLLs, on Microsoft Windows) and C+ static libraries. These can be used without MATLAB on the end- user s system.?
13、Excel comp atible pl ug-i ns?COM (Com ponent Object Model) objects.Differences Between C+ and MATLABMost MATLAB exp ressi ons tran slate into C+ with no effort very ofte n the MATLAB and C+ are ide ntical. There are some differe nces in syn tax, of course, but it is imp orta nt to realize that the C
14、+ in terface is substa ntially the same as the M-file in terface.Introducing mbuildThe MathWorks utility, mbuild, lets you customize thecon figurati on and build p rocess. The mbuild scri pt pro vides an easy way for you to sp ecify an op tio ns file that lets you? Set your comp iler and lin ker set
15、t ings? Change com pilers or comp iler setti ngs? Switch betwee n C and C+ devel opment? Build your app licati onThe MATLAB Comp iler (mcc) automatically inv okes mbuild un der certa in con diti ons. In p articular, mcc -m or mcc -p inv okes mbuild to p erform comp ilatio n and linking.COM com ponen
16、tsComponent Object Model (referred to COM) is a software architecture that allows applications software from different manu facturers to build componen ts. Gen erally sp eak ing, app licati on software source code is usually compiled by the static link from the binary executable code. Due to the lac
17、k of the n ecessary sta ndards, 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 of existing applications, will also face restrictions on the p rogram ming Ian guage comp atibility.COM is different f
18、rom the traditional structure of a new type of software. COM tech no logy to solve a basic p roblem is how to desig n a system to allow differe nt software devel opers in differe nt time and p lace for the devel opment of the code can be coord in ated to op erate as well as the sharing of binary cod
19、e. In the COM world, the application of software components built by different. These components in strict complianee with the provisions of the rules of COM, even if the Ian guage is differe nt from the devel opment of time, pl ace differe nt, but they can be perfectly compatible, the application o
20、f their software to complete certain functions. For these components, the function of the expansion or the in crease of new features will not damage the fun cti on of the orig in al.COM men ti oned in the binary code, gen erally known as COM or COM object. COM object is differe nt from the C + + Ian
21、 guage in the object. C + + object is a p ractical p roblem for the abstract, is a means of software devel opment. The COM pro vides a binary code can be shared in dustry sta ndard.COM component is the core tech no logy of the Win dows op erat ing system. Theoretically, COM can be cross-platform. Bu
22、t almost all curre nt app licati ons are in the COM un der Win dows op erat ing system. In gen eral, COM objects can be in two formats: one is the form of COM DLL, in the actual call, the component code was in cluded in the p rocess of app licati ons, so that COM components are also referred to as t
23、he p rocess of in side (in-proc) componen ts. Ano ther component is a Win dows executable file (. Exe files). Such components in p ractical app licati ons can run on its own independent p rocess, so called p rocess components (out-of- proc) componen ts. MATLAB Comp iler gen erated DLL files are COM
24、objects, that is, the p rocess componen ts.COM theory does not rely on a p articular p rogram ming Ian guage.This means that the devel opment of COM componen ts, COM components and the use of app licati on software are not just limited to a p articular p rogram ming Ian guage. Sp eak ing from a tech
25、 ni cal difficulty, the use of COM to devel op their formati on tha n the more sim pie.Building COM ObjectsYou can use mbuild to create Component Object Model (COM) objects from MATLAB M-files. The collection of M-files is translated into a si ngle COM class. MATLAB COM Builder su pports mult ip le
26、classes per component.The in terface to the COM class is the same set of fun cti ons that are exp orted from a C shared library, but the Comp iler supp orts both C and C+ code gen eratio n in p roduci ng COM objects.mbuild automatically:?nv okes the Microsoft In terface Defin iti on Lan guage (MIDL)
27、 comp iler?nv okes the resource comp iler?Sp ecifies the .DEF filesUsing mbuild op ti ons you can en able auto registrati on of the COM-co mp atible DLL.For exa mp le, to compile p lusl.m into a COM object, usemcc -B ccom:add in ,addi n,1.0 p lusl.m中文译文导言介绍MATLA是一个高级技术计算的语言和交互式环境为算法发 展、数据形象化、数据分析和数字
28、计算。使用MATLA,您能快速地解决技术计算的问题比以传统编程语言,例如C,C+和FORTRAN。您在一个宽应用范围能使用 MATLAB,包括信号和图象处理, 通信、控制设计、测试和测量,财政塑造和分析和计算生物。添加工具箱(专用MATLAB的汇集分开地起作用,可利用)在这些应用范 围扩大MATLAB环境解决问题特殊类。MATLAB为提供和分享您的工作提供一定数量的特点。 您能 集成您的MATLAB代码以其他语言和应用,并且分布您的MATLAB 算法和应用。介绍基于MATLAB ?的环境非常适合快速原型和应用开发。 交互式 的编程环境,内置的数学运算功能,工具箱,编辑和调试工具,和 部署选项都
29、有助于降低您的整体开发时间。通过使用内置的数学函数和许多专门职能的工具箱内所载, MATLAB的可显着降低所花费的时间来开拓原型。 除了综合编辑和 调试工具,提供了一个基于 MATLAB的性能Profiler来帮助您进一 步优化你的代码编程时在MATLAB 。构建应用程序在复杂算法和图形是比以往更容易与图形用户界 面生成,指导。重新设计的指南在 MATLAB 6以节省您的时间。它 提供了所有的拖放界面选项,你应该预料到,如文本框,单选按钮, 复选框,列表框,滑块,弹出菜单,框架等。当您准备好您的应用程序部署,MathWorks公司提供了一些不 同的选择,让您可以转换或您MATLAB的接口适用于
30、其他环境,包 括C / C + +和网络。MATLAB是最有生产力的发展环境,用于创建 科学和工程应用,因为它提供了强大的工具,每一步的过程中,以 降低您的整体开发时间。用途基于MATLAB ?是一个高性能的语言技术计算。它综合计算, 可视化,并规划在一个易于使用的环境问题和解决办法是在熟悉的 表达数学符号。典型用途包括:?数学和计算?算法开发?数据采集?建模,仿真,原型?数据分析,探索,可视化?科学和工程制图?应用软件开发,包括图形用户界面建设编译文件类型Matlab编译需要的M -文件作为输入并生成C或C + +源代码或 P他码作为输出。在MATLAB的编译器可以生成这些种源代码:? C源
31、代码为建设MEX文件。?C或C + +源代码,与其他模块相结合,形成独立的应用。在 单独使用时不需要MATLAB的在运行时;他们可以运行,即使没有 安装基于MATLAB的最终用户的系统。? C代码的S -函数使用的Simulink ?。? C共享库(动态链接库,或 DLL ,Microsoft Windows )和C + +的静态库。可利用这些共享文件在没有MATLAB的用户系统中使用。? Excel兼容的插件? COM (组件对象模型)的对象。区别C + +与MatlabMATLAB的运算转化为C + +的程序往往是基于MATLAB和C+ +是有很多相同点的。有些不同的语法,当然,但重要的是
32、要认识 到,C + +的接口和MATLAB的M -文件接口是大致相同的。介绍mbuildMathWorks公司公用程式, mbuild,您可以自定义的配置和 建设进程。该mbuild脚本提供了一种简单的方式让您指定一个选项 档案,可以:?设定您的编译器和连接设置?更改编译器或编译器的设置?程序之间切换C和C + +开发?建立您的应用程序MATLAB的编译器(MCC )在一定条件下自动调用 mbuild。特 别是,mcc- m或mcc -p引导mbuild进行汇编和链接。COM组件应用软件一般是 由于缺乏必要的 即使是同一个软组件对象模型(简称COM)是一种软件架构,它允许应用软件可 以由不同的
33、软件制造商的组件来构建。通常来说, 由源代码编译链接而成的静态二进制可执行代码。 标准,这种代码一经编译,则很难进行扩展开发。件,想要扩展开发已有的应用软件,也会面对各种兼容及编程语言 限制。COM则是有别于传统的一种新型软件架构。COM技术解决的 一个基本问题就是如何设计一个系统使得不同软件开发商在不同时 间和地点开发的代码能够协同操作以及共享二进制代码。在COM世界,应用软件又不同的组件搭建而成。 这些组件严格遵守COM规 定的规则,即使开发语言不同,开发时间,地点不同,但是他们可 以完美的兼容,各自完成应用软件中的某些功能。对于这些组件来 说,功能的扩展或者新功能的增加都不会破坏原有的功能。COM对象或者组件对象。C+对象是对于实际问题的COM提供了一种可以共享COM中所提到的二进制
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年度建筑工程安全生产责任追究合同
- 2025年度外贸合同书样本:国际货物运输保险合同
- 2025年度商业地产产权转让与物业管理合同
- 2025年度园林绿化养护临时用工合作协议
- 二零二五年度移动宽带网络用户满意度提升合同
- 工业园区升级补贴合同
- 2025年度建筑工程合同监理实施办法
- 2025年度商场顾客满意度调查与提升合同
- 2025年度房屋租赁安全免责合同(带宠物)
- 2025年导电银浆行业现状分析:导电银浆市场复合年增长率为20.12%
- 一科一品一骨科护理
- 加气站安全培训课件
- 设备维修的基本技能培训
- 2025年中国邮政招聘笔试参考题库含答案解析
- 人教版(2024)七年级英语上册新教材的变化及教学建议课件
- 2025年中考语文一轮复习:九年级上册知识点梳理
- 2025年新闻部工作计划
- 中国近代史纲要西安财经大学练习题复习资料
- 中国成人ICU镇痛和镇静治疗指南解读
- 延长保修服务合同
- 2025中考英语作文19个热点话题及范文
评论
0/150
提交评论