This single file implementation can set up a callback fired when files and/or folders are dropped onto a uifigure component.
In the callback, the full file and/or folder names are captured for user to decide the action. Ctrl and Shift key status during the drop event are also reported.
Example to drop file/folder into uilistbox:
DnD_uifigure(uilistbox(uifigure), @(o,dat)set(o,'Items',dat.names))
인용 양식
Xiangrui Li (2024). uiFileDnD (https://github.com/xiangruili/uiFileDnD), GitHub. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2020b
R2020b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
2023.10.18 | Try to fix the crash issue |
|
|
2023.10.17 | See release notes for this release on GitHub: https://github.com/xiangruili/uiFileDnD/releases/tag/v2023.10.17
|
||
2023.04.14 | Move JS from help text to string, so it works for compiled app. Thx MattTheCuber |
|
|
2020.10.04 | add picture |
|
|
2020.10.03 |
|
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.