MATLAB图形用户界面环境(GUIDE)一直都无法实现类似VC窗体滚动条的功能.介绍了一种在MATLAB GUIDE中使用WebBrowser控件,利用网页自动生成滚动条的特性,实现大量内容显示的方法.并着重介绍了WebBrowser控件的创建,按钮、文本、图像的添加与显示,以及MATLAB与WebBrowser控件数据传递的方法.通过图像分类系统对此方法进行验证,表明该方法在MATLAB图形用户界面(GUI)设计中具有简单、易扩展的特性.%MATLAB graphical user interfaces development environment (GUIDE) has been unable to achieve the function of scroll bar based on the VC form.This paper introduces a method of displaying large amounts of content that using a WebBrowser ActiveX in MATLAB GUIDE, and utilizes the characteristics of scroll bar's automatic generation in web page to achieve an abundant displaying result.This essay mainly focuses on the creation of WebBrowser controls, adding and displaying the buttons, texts, images in WebBrowser ActiveX, and data transfers between MATLAB and web controls.This method is validated through image classification system, since the results demonstrate its simplicity and expansibility.
展开▼