Filter löschen
Filter löschen

Drag and drop file to figure

22 Ansichten (letzte 30 Tage)
Peter
Peter am 16 Dez. 2011
Kommentiert: Nick Patterson am 31 Aug. 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

Akzeptierte Antwort

Jan
Jan am 16 Dez. 2011
  2 Kommentare
Walter Roberson
Walter Roberson am 16 Dez. 2011
Ah... activex
Nick Patterson
Nick Patterson am 31 Aug. 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.)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by