Why am I unable to open a script/function by drag-and-dropping it into MATLAB Editor?
조회 수: 7 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2022년 6월 24일
답변: MathWorks Support Team
2022년 9월 15일
I'm not able to drag a script or function from Windows File Explorer and drop it on the open MATLAB editor and have the file open. I have to use the MATLAB menus to open the file or type
>> edit MyFile.m
at the MATLAB Command Window.
I also cannot drag and drop the file into the MATLAB Command Window to run the code.
The issue started appearing after I installed a MATLAB Update.
채택된 답변
MathWorks Support Team
2022년 6월 24일
This can happen if the MATLAB process is being started by a different system user (administrator) than the Windows File Explorer (explorer.exe) process, so drag-and-drop is being blocked as a security measure.
The issue can be resolved by starting explorer.exe from the same terminal with the same admin privilege as matlab.exe.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!