AppDesigner ボタンの種類を変更できますか?
Ältere Kommentare anzeigen
AppDesignerでボタンコンポーネントなどを配置してアプリケーションを作っていましたが、
ボタンの種類を間違えて、”Button”ではなく"StateButton"をたくさん配置してしまいました。
ボタン押下時のコールバックはそのままで、配置したボタンの種類を変更することはできないでしょうか?
Akzeptierte Antwort
Weitere Antworten (1)
Hiroshi Iwamura
am 27 Dez. 2023
1 Stimme
R2024a からできるようになるようです。
App Designer: Convert between additional similar UI components
To convert one type of UI component to another with similar functionality, right-click the component on the canvas or in the Component Browser and select Replace With. Then, select the component to convert to. Replacing one component with another preserves relevant property values, such as font properties and callbacks that exist for both components. For example, you can now convert component types within these additional groups:
- Push button and state button
- Tree and check box tree
- List box and drop-down component
Prerelease版を入れればできるかと思います。
1 Kommentar
良文
am 8 Jan. 2024
Kategorien
Mehr zu 対話型のモデル編集 finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!