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

采纳的回答

Jan
Jan 2011-12-16
  2 个评论
Nick Patterson
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
Walter Roberson 2011-12-16
You might be able to work something at the Java level; I do not know.
  1 个评论
Peter
Peter 2011-12-16
Thank you! Java might work, though it seems a bit tricky.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by