Comparing GUIDE and App Designer
MATLAB®offers users two interactive design environments for building apps: App Designer and GUIDE (GUI Design Environment).
应用设计师is the recommended environment for building apps in MATLAB, and GUIDE will be removed in a future release of MATLAB.
After GUIDE is removed, existing GUIDE apps will continue to run in MATLAB, but will not be editable using the GUIDE environment. To continue editing an existing GUIDE-based app and help maintain its compatibility with future MATLAB releases, you can use the GUIDE to App Designer Migration Tool for MATLAB on File Exchange. Alternatively, you can export it from GUIDE to a single MATLAB file by selecting File > Export to MATLAB-file.
To help in deciding how to best proceed with your existing GUIDE app, please consider the following options and which will best meet your needs.
What can I do with my GUIDE app when GUIDE is removed?
Options |
||||
Action | Do Nothing | 导出到.m | Migrate to 应用设计师 |
Rebuild with 应用设计师 |
Run app | ||||
- Initial effort to run app | n/a | Low | 医学 | 高的 |
Edit app layout | ||||
- Interactively | ||||
- 以编程方式 | ||||
Edit app code (behavior) | ||||
- Effort to maintain code | 医学 | 医学 | 医学 | Low |
- Effort to enhance app | 高的 | 高的 | 医学 | Low |
When creating new apps, you are strongly encouraged to use App Designer and theAppDesigner
function instead. To learn more about the benefits of App Designer and the features it supports, please review the table below.
Key
Support for interactive and programmatic app building
Support for programmatic app building only
Design Environment |
GUIDE4 |
应用设计师 |
---|---|---|
Component Library |
||
Property Inspector |
||
Component Browser |
||
回调共享 |
||
自定义应用程序图标 |
||
Diff & Merge Using Comparison Tool |
||
Single-File Management for Code and User Interface |
||
现代外观 |
||
Toolstrip-Based Desktop |
||
Rich Canvas Interactions |
||
Embedded Code Editor |
||
Rich Property Editors |
||
App Metadata Management |
||
Robust Programming Editor and Workflow |
||
Quick Start Interactive Tutorial |
||
应用测试框架支持金宝app |
||
App Templates |
Code Editor
Design Environment |
GUIDE4 |
应用设计师 |
---|---|---|
Code Debugger |
||
代码折叠 |
||
Code Analyzer |
||
应用输入参数 |
||
丰富的编程辅助工具 |
||
快速代码导航 |
||
Global Component Rename |
||
Utility Functions via Custom App Methods |
Graphics Support
Design Environment |
GUIDE4 |
应用设计师 |
---|---|---|
2D & 3D Plotting |
||
轴支撑(轴金宝app,极性,地理) |
||
Axes Interactions (pan, zoom, rotate) |
||
Figure Interactions (keyboard and mouse events) |
||
Printing |
SeeDisplaying Graphics in App Designerin the MATLAB documentation for more information.
App Sharing and Access
Design Environment |
GUIDE4 |
应用设计师 |
---|---|---|
分享As Matlab应用程序安装文件 |
||
分享MATLAB独立桌面应用程序1 |
||
Share as MATLAB Web App1 |
||
Create, Edit, and Run Apps in MATLAB Online2 |
||
Export as Standalone MATLAB Class File |
Containers and Layout Managers
Design Environment |
GUIDE4 |
应用设计师 |
---|---|---|
上下文菜单 | ||
Toolbar | ||
Panel |
||
Menu Bar |
||
Tab Group |
||
Scrollable Containers |
||
Grid Layout Manager |
||
Auto-Reflow |
Common Components
Design Environment |
GUIDE4 |
应用设计师 |
---|---|---|
Button |
||
Drop Down |
||
Edit Field (Text) |
||
Label |
||
List Box |
||
广播按钮组 |
||
Slider | ||
Table | ||
文字区域 | ||
Toggle Button Group | ||
日期选择器 | ||
Edit Field (Numeric) | ||
Image | ||
Spinner | ||
State Button | ||
树 |
对话和通知
Design Environment |
GUIDE4 |
应用设计师 |
---|---|---|
Alert Dialog |
||
Confirmation Dialog |
||
Progress Dialog | ||
Color Picker | ||
File Selection | ||
Save File | ||
Folder Selection | ||
Load Variable | ||
Save Variable |
Instrumentation
Design Environment |
GUIDE4 |
应用设计师 |
---|---|---|
Gauge |
||
90度仪表 |
||
Linear Gauge |
||
Semicircular Gauge |
||
Knob |
||
离散旋钮 |
||
灯 |
||
Switch |
||
摇杆开关 |
||
拨动开关 |
||
Airspeed Indicator3 |
||
Altimeter3 |
||
攀登率指示器3 |
||
EGT指示器3 |
||
Heading Indicator3 |
||
Artificial Horizon3 |
||
RPM Indicator3 |
||
Turn Indicator3 |
Component Extensibility
Design Environment |
GUIDE4 |
应用设计师 |
---|---|---|
Custom Components |
||
HTML Component |
||
ActiveX控件4 |
- Requires MATLAB Compiler.
- MATLAB Online is available with select licenses.检查您的资格on mathworks.com/products/matlab-online.html.
- Requires Aerospace Toolbox.
- Will be removed in a future release.