How to use AI to edit UI of app using AppDesigner

We are building an app with AppDesigner (24b currently). To get help designing we are using AI features. The suggestions seem good, and I want to adapt my AppDesigner Code. However, the code of the UI is greyed out. Secondly, unzipping the .mlapp and editing the matlab/document.xml does not work, as zipping again creates an not running (and smaller in size) .mlapp file. Is there a way to get access to the UI Code and to edit it effectively? Thank you.

 採用された回答

Cris LaPierre
Cris LaPierre 2026 年 3 月 26 日
移動済み: Cris LaPierre 2026 年 3 月 26 日

0 投票

This is not possible in App Designer. However, you could use AI to build your own app outside of app designer. It's just a subclass of the class matlab.apps.AppBase. You could even base it on the code you currently have for an App Designer app.
If you are not comfortable designing your own subclass, you could create your app programmatically. See the Use MATLAB Functions to Build Apps Programmatically section of this page.

2 件のコメント

Ravindra Goyal
Ravindra Goyal 2026 年 3 月 27 日
編集済み: Ravindra Goyal 2026 年 3 月 27 日
So I see I can export the App into an m_file. Is there a way back into AppDesigner at some point also?
Cris LaPierre
Cris LaPierre 2026 年 3 月 27 日
Not that I'm aware of.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品

リリース

R2024b

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by