基于Matlab的数字实验软件的开发
The Development of Digital Experiment Software Based on Matlab
-
摘要: Matlab在绘制自动控制原理的相关图形时具有局限性,需要使用者掌握编程语言才能使用,对使用者要求较高。鉴于此,开发了一个可供教学和科研的数字实验软件,该软件实现了在绘图时只需输入相关参数就可生成相关图形的功能。通过利用Matlab GUI工具设计实验界面,采用模块化的设计方法,先设计各个子模块,再通过回调函数将各模块连接在一起,组成一个系统。同时,还设计了利用Simulink进行仿真的实验,方便学生更好地去学习自控原理课程,提高课堂教学效率。该系统具有界面友好、使用方便、功能强的特点,且涵盖了自动控制的主要绘图。该软件不仅可用于实验教学,也可以用在相关领域的科研工作上。Abstract: Because Matlab in drawing the principle of automatic control of the relevant graphics with limitations,it often has a higher requirement to the users with a good command of the programming language.In view of this,the paper develops a digital experiment software for teaching and research.The software can achieve the functions that when enters the relevant parameters it can generate the relevant graphics.This paper designs the experimental interface by using Matlab GUI tool,utilizing the modular design methods.First design the various sub-modules,and then callback function to connect the modules together to form a system..Meanwhile,it also designs to use Simulink simulation experiment to facilitate the students to better study the principle of self-control theory courses to improve the classroom efficiency.This system has some distinguishing features such as user-friendly,easy-to-use, strong functions,covering the main drawings of the principles of automatic control.The software can not only be used for experimental teaching,but also can be used in related areas of scientific research.