how to add a photo in the background of an app in appdesigner
6 ビュー (過去 30 日間)
古いコメントを表示
AMINE EL MOUATAMID
2019 年 5 月 7 日
コメント済み: AMINE EL MOUATAMID
2019 年 5 月 10 日

how can I use an image in the background instead of just using a color (the blue one)
is this possible
0 件のコメント
採用された回答
Melissa Williams
2019 年 5 月 10 日
Hello,
The image component is available in App Designer as of MATLAB R2019a.
-Melissa
その他の回答 (1 件)
Melissa Williams
2019 年 5 月 10 日
You can put an axes as the background for your app and add a startup function to populate it with your image file.
function startupFcn(app)
myImage = imread('peppers.png');
image(app.UIAxes, myImage);
end
You will want to set UIAxes title, xLabel, yLabel to blank in the Property Editor on the lower right. And XTick and YTicks = []
Best of luck.
5 件のコメント
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!