中文说明: 运用matlab可视化编程能力的图形用户界面GUI开发虚拟实验平台,matlab提供的向导包括控制面板,属性编辑器,事件过程编辑器,对齐工具和菜单编辑器五个图形用户界面编辑工具,可实现利用该向导用户可以将图形界面的外观,包括所有的按钮以及图形的位置确定下来,然后用matlab的回调程序编辑器来编写完成约定任务的函数代码,从而方便快捷地设计一个图形用户界面。运用MATLAB的图形用户界面(GUI)设计方法,设计整个实验系统的实验主界面及其实现数字信号处理课程中具体实验的各个子界面,包括基本离散信号及其运算,FIR数字滤波器设计,IIR数字滤波器设计,窗函数绘制,然后分别编写各个子界面的各个控件对象的回调函数,来实现控件相应控制功能,通过函数实现多个界面的相互交换。编写主界面的回调函数,将各个实验子界面整合在数字信号处理实验主界面中,既通过主界面就可以进入任何一个实验子界面。
English Description:
The GUI of MATLAB visual programming ability is used to develop the virtual experiment platform. The wizard provided by MATLAB includes five GUI editing tools: control panel, Attribute Editor, event process editor, alignment tool and menu editor. With this wizard, users can determine the appearance of the GUI, including all the buttons and the position of the graphics Then we use the callback program editor of MATLAB to write the function code to complete the agreed task, so as to design a graphical user interface conveniently and quickly. Using the GUI design method of MATLAB, this paper designs the main interface of the whole experiment system and its sub interfaces in the course of digital signal processing, including basic discrete signal and its operation, FIR digital filter design, IIR digital filter design, window function drawing, and then compiles the callback function of each control object of each sub interface Number, to achieve the corresponding control function of the control, through the function to achieve the exchange of multiple interfaces. Write the callback function of the main interface, and integrate each experimental sub interface into the main interface of digital signal processing experiment. You can enter any experimental sub interface through the main interface.