Drag and drop file to figure
조회 수: 20 (최근 30일)
이전 댓글 표시
Hi,
is it possible to drag-and-drop files into a matlab figure (e.g. a gui) instead of using the oldschool uigetfile command?
Sincerely, Peter
댓글 수: 0
채택된 답변
Jan
2011년 12월 16일
댓글 수: 2
Nick Patterson
2022년 8월 31일
This doesn't seem to work on the latest MATLAB version, as I get errors when I run that and I also get warnings that ACTXCONTROL will be removed in a future release.
The warnings point to this URL:
Is there a solution to this that will work on the latest MATLAB? (I'm using the R2022b prerelease.)
추가 답변 (1개)
Walter Roberson
2011년 12월 16일
The only drag and drop MATLAB has is mentioned http://www.mathworks.com/matlabcentral/answers/407-drag-and-drop-graphics
You might be able to work something at the Java level; I do not know.
참고 항목
카테고리
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!