Drag and drop file to figure
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Jan
le 16 Déc 2011
2 commentaires
Nick Patterson
le 31 Août 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.)
Plus de réponses (1)
Walter Roberson
le 16 Déc 2011
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.
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!