【源码】从 GUIDE 到 App Designer 的MATLAB迁移转换工具

在这里插入图片描述
App Designer是一种用于设计MATLAB APP的新推出的工具环境。

App Designer is a new environment for building MATLAB apps.

将现有的GUIDE程序迁移到App Designer,具有很多的优点:

There are many advantages to migrating existing GUIDE apps to App Designer including:

  • 改进的设计画布以及新的生成代码结构,使得跨应用程序共享数据更加容易。

  • An improved design canvas, and a new generated code structure that makes it easier to share data across the app.

  • 扩展组件集,包含一组完整的标准用户界面组件、诸如树、日期选择器和增强表之类的新组件,以及用于创建控制面板和人机接口的组件。

  • An expanded component set with a full set of standard user interface components, new components such as a tree, date picker, and an enhanced table, as well as components to create control panels and human-machine interfaces.

  • 能够部署到网络,因此您可以与组织中的任何人共享应用程序,或在MATLAB Online中运行应用程序,以便于访问。

  • Ability to deploy to the web, so you can share your app with anyone in your organization, or run it in MATLAB Online for easier access.

迁移工具将自动从GUIDE应用程序生成App Designer MLAPP文件。

The migration tool will automatically generate an App Designer MLAPP-File from a GUIDE app.

MLAPP文件包括:

●具有适当配置属性的组件。

• Components with their properties configured appropriately.

●GUIDE回调代码的副本。

• A copy of the GUIDE callback code

在进行代码迁移之前需要考虑以下两点:

  1. 您将需要手动迁移回调代码,以便与App Designer兼容。您可以使用报告中的信息来完成应用程序的代码转换。

  2. You will need to manually migrate your callback code to be compatible with App Designer. You can use information from the report to complete the code transition for your app.

  3. App Designer不支持GUIDE的一些特性,如工具栏、上下文菜单和ActiveX控件。如果应用程序使用了不支持的功能,那么它可能不适合迁移到App Designer。

  4. Some features of GUIDE, such as Toolbar, contextmenu, and ActiveX control are not supported in App Designer. Your app may not be suitable for migration to App Designer if it makes use of unsupported functionality. Review Graphics Support in App Designer for more information: https://www.mathworks.com/help/matlab/creating_guis/graphics-support-in-app-designer.html.

源码下载地址:

http://page5.dfpan.com/fs/fl6c0jd22231a2a9166/

更多精彩文章请关注微信号:在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42825609/article/details/85257265