Drag and drop images
조회 수: 2 (최근 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!