基于VB和MATLAB的控制系统频率特性曲线绘制软件二次开发

上传人:876****10 文档编号:141571525 上传时间:2020-08-10 格式:DOC 页数:24 大小:243.50KB
返回 下载 相关 举报
基于VB和MATLAB的控制系统频率特性曲线绘制软件二次开发_第1页
第1页 / 共24页
基于VB和MATLAB的控制系统频率特性曲线绘制软件二次开发_第2页
第2页 / 共24页
基于VB和MATLAB的控制系统频率特性曲线绘制软件二次开发_第3页
第3页 / 共24页
基于VB和MATLAB的控制系统频率特性曲线绘制软件二次开发_第4页
第4页 / 共24页
基于VB和MATLAB的控制系统频率特性曲线绘制软件二次开发_第5页
第5页 / 共24页
点击查看更多>>
资源描述

《基于VB和MATLAB的控制系统频率特性曲线绘制软件二次开发》由会员分享,可在线阅读,更多相关《基于VB和MATLAB的控制系统频率特性曲线绘制软件二次开发(24页珍藏版)》请在金锄头文库上搜索。

1、基于VB和MATLAB的控制系统频率特性曲线绘制软件二次开发摘 要MATLAB软件开发公司,Mathworks,是一种高性能的语言为技术计算它集计算、可视化和编程在一个易于使用的环境中存在的问题及解决数学符号表达熟悉因为强大的矩阵运算,叫做矩阵实验室Matlab语言与自然语言是相似的使用Matlab极为方便它也有很多功能,可被称为易但是,也有一些缺点因为MATLAB语言是一种解释执行脚本语言,它是非常缓慢循环语句的执行在同等条件下,与之相比,一些高级语言如VB,VC和执行循环的句子在低速图形用户界面(GUI)的MATLAB不是很亲切,参数输入和输出不方便的. VB中,作为一种高水平的计算机语言

2、,实行循环句子得比较快,和它的GUI是友好的. 结合可视化编程接口与强大的功能的VB ,MATLAB在数值计算和显示的图形,我们可以利用他们自身的优势,避免他们的弱点。所以本软件采用VB的ActiveX 自动化技术ActiveX是一种应用程序开发技术和体系结构的总称3 。用户可以通过一些小型的,快速的,可重用的组件更加适应商业和家用应用程序的开发;ActiveX代表一种新的应用程序集成开发策略。ActiveX 组件有多种类型,VB 和Matlab 之间通信主要用到自动化服务器和自动化控制器的技术3 。Matlab 作为自动化服务器,被作为自动化控制器的VB 程序所调用。为了在VB 中请求Mat

3、lab的服务,必须获得Matlab 对象在系统注册表中定义的名字一般来说,这个名字为“Matlab. Application”。启动服务器后,就可通过Matlab 提供的一些接口函数调用Matlab。这些函数不仅可执行任何合法命令,而且可向Matlab 传送和获得数据。建立自动化控制器的方式十分简单,在VB 开发环境中,首先选择“工程”下的“引用”标签,选中Mablab Automation ServerType Library。然后用Object Browser 查看Mlapp ,就可看到Matlab 作为服务器提供的接口函数。利用了Matlab 作为服务器提供的接口函数Function E

4、xectue ( name As St ring ) asstring。此函数用于执行一个合法的Matlab 命令或者在Matlab 的工作空间中调用M 文件,并将绘图程序产生的图形显示在屏幕上。输入的name 符串可以是Matlab 的命令,也可以是调用的M 文件名,函数返回一个字符串,然后通过软件开发技术,如:软件设计说明书;软件使用说明书;软件测试分析报告;项目开发总结等过程后完成本软件的开发工程。关键词 :GUI COM编程思想 ActiveX 控件 网络资源 通信交互方法 ActiveX 自动化技术 MatrixVB AbstractMATLAB software developme

5、nt Co., Mathworks, is a high-performance language for technical calculation it sets the calculation, visualization and programming in an easy to use environmental problems and solving mathematical symbols express familiar. Because of the strong matrix computation, called the matrix Matlab language l

6、aboratory with the natural language is similar to the use of Matlab is very convenient, it also has many functions, can be called easy but it also has some disadvantages because Matlab language is a kind of explanation, it is executed scripting language very slow implementation of looping statements

7、 in coequal condition, compared with some high-level languages such as VB, VC and execution of the sentence in the low cycle graphical user interface (GUI) is not very friendly, and the parameters of the Matlab input and output convenient. VB, as a high level of computer language sentence faster cyc

8、le, and it is friendly. Combining GUI programming interface and strong visual function of VB, Matlab in numerical calculation and graphic display, we can use their own advantages, to avoid their weaknesses.So the software using VB ActiveX automation technology ActiveX is a kind of application develo

9、pment technology and system structure of the floorboard 3. Users can through some small, fast, reusable components of commercial and residential more adaptable to the application development, ActiveX represents a new application integration development strategy. There are many different types of mod

10、ules ActiveX VB and Matlab mainly used between communication server and automation controller of automation technology 3. Matlab as automation server, known as the VB program automatic controller. Matlab in VB to request service, must obtain Matlab object in the system registry definition names, gen

11、erally speaking, the name is Matlab is used to apply. After the server through Matlab, can provide some of the interface function invocation Matlab. These function not only can perform any lawful orders, and can be transmitted to the Matlab and data. Establish Automation controller is very simple, t

12、he way in VB development environment, the first choice project, introduction tag Library Automation ServerType Mablab selected. Then use Object Browser Mlapp view, you can see the interfaces provide a server Matlab. Use Matlab for server provides interfaces Exectue hire those knowledgeable programme

13、rs Function name (ring) asstring As St. This function is used to execute a legitimate Matlab orders or in Matlab workspace call M files, and will generate graphics drawing program displayed on the screen. Input the name of the operator can be Matlab orders, also can be invoked the M () function retu

14、rns a string filename, and then through the software development techniques, such as: the software design specifications, Software instructions, Software testing analysis report, Project development after completion of this course summary of the development of software engineering.Keywords: GUI COM

15、programming ActiveX control network resource thought communication interactive methodsActiveX MatrixVB automation technology目 录第一章VB编程简介41.1VB编程语言历史41.2VB主要用途领域61.3VB的优点6第二章MATLAB使用的简介72.1MATLAB的历史72.2MATLAB语言的主要特点72.3MATLAB能做什么82.4网络资源82.4.1USENET新闻组82.4.2网络上的工具箱82.4.3BBS82.4.4www服务82.5MATLAB帮助9第三章 自动控制原理简介93.1自动控制系统的分类93.1.1按给定信号的特征分类93.1.2按系统的数学模型分类93.1.3按信号传递的连续性划分103.1.4按系统的输入/输出信号的数量分类113.2自动控制系统的基本组成113.3对控制系统的要求和分析设计113.3.1对系统的要求113.3.2控制系统的分析和设计123.4控制系统的稳定性分析123.4.1系统稳定及最小相位系统判据133.4.2系统稳定及最小相位系统的判别方法133.4.3奈氏稳定性判据13第四章Visual Basic 与Matlab 通信交

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号