Drag and drop file to figure
25 次查看(过去 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!