以编程方式开发 App
使用 MATLAB® 函数以编程方式开发 App
通过使用 MATLAB 函数对 App 的布局和行为进行编码,以编程方式设计和编辑 App。如果您要对代码结构进行额外的控制,请使用此方法。有关介绍,请参阅Create and Run a Simple Programmatic App。
函数
属性
主题
学习编程式 App 构建的基础知识
- Create and Run a Simple Programmatic App
 Step through the process of creating a simple app programmatically.
- App 构建组件
 查看可用于构建现代 App 的 UI 组件示例。
- 构建 App 的方法
 选择最适合您的工程要求和首选工作流的 App 构建方法。
自定义 App 外观
- Lay Out Apps Programmatically
 Manage the size, location, and front-to-back order of components programmatically.
- Manage App Resize Behavior Programmatically
 Manage the default automatic resizing behavior for programmatic apps.
- 显示表的编程式 App
 创建一个表 UI 组件,并以编程方式修改其外观和行为。
- 在 App 中格式化表格数据
 控制在 App 中使用表数组数据时不同数据类型的显示方式。
- Style Cells in a Table UI Component
 Color cells, format text, and display icons in a table UI component.
- Create HTML Content in Apps
 Create an HTML file to embed HTML, JavaScript®, or CSS content in your app that can trigger or respond to data changes.
对 App 行为编程
- Create Callbacks for Apps Created Programmatically
 Write callbacks to control the behavior of apps you create programmatically.
- 在回调之间共享数据
 使用不同方法管理和共享 App 中的数据。
- Interrupt Callback Execution
 Learn how to control whether callbacks can be interrupted by other callbacks.
- Improve App Performance
 Apply techniques to improve the performance and responsiveness of your apps.
- Improve App Startup Time
 Improve the time it takes for your app to load by populating only the content that is visible.
- Debug HTML Content in Apps
 Simulate how data is sent between MATLAB and JavaScript in an HTML UI component.