Drag and drop images
5 ビュー (過去 30 日間)
古いコメントを表示
Hello Good day,
Following the question asked in the following link regarding drag and drop of a textbox:
How can I replace the text box with an image that can be dragged and dropped?
0 件のコメント
回答 (1 件)
Ajay Kumar
2020 年 1 月 7 日
You can use the axes component.
doc uiaxes
and in the startup function you could write something like this:
imshow('yourpicture.jpg','Parent',app.UIAxes);
assuming that the name of your axes is UIAxes and yourpicture.jpg is in the same directory.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!