Drag and drop file to figure

20 visualizaciones (últimos 30 días)
Peter
Peter el 16 de Dic. de 2011
Comentada: Nick Patterson el 31 de Ag. de 2022
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

Respuesta aceptada

Jan
Jan el 16 de Dic. de 2011
  2 comentarios
Walter Roberson
Walter Roberson el 16 de Dic. de 2011
Ah... activex
Nick Patterson
Nick Patterson el 31 de Ag. de 2022
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.)

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 16 de Dic. de 2011
You might be able to work something at the Java level; I do not know.
  1 comentario
Peter
Peter el 16 de Dic. de 2011
Thank you! Java might work, though it seems a bit tricky.

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by