필터 지우기
필터 지우기

Why does double clicking run an m file instead of open it in the editor?

조회 수: 3 (최근 30일)
Andy Yancy
Andy Yancy 2014년 4월 5일
댓글: dpb 2014년 4월 5일
Among numerous other issues with R2012a (messed up associations, no Start Menu shortcuts, extremely slow start times, etc.), when I double click on an m file in Windows Explorer, Matlab starts but tries (and usually fails) to execute the script (and usually fails). This is incredibly annoying and completely different from any other version of Matlab I have used. I'm on Windows 7 64 bit.
How can I change this behavior so that double clicking opens the m file in the Matlab Editor (not the standalone editor, but the editor in the full Matlab program)?
  댓글 수: 3
Andy Yancy
Andy Yancy 2014년 4월 5일
OK, thanks. Apparently this is much more difficult to fix in Windows 7 than in XP. I don't blame you for sticking with XP as long as possible. Windows 7 is inferior in a million little ways and superior in 0 ways that I have found so far. (The lack of an up arrow in the file manager alone is going to drive you crazy when you finally make the switch!)
dpb
dpb 2014년 4월 5일
I see MS apparently broke it...that sucks big time. :(
I found a couple of links to some freeware utilities that seem to claim they bring back the functionality, otherwise it appears one would have to resort to registry editing manually. What a crock...
"I know nuthink!" (to quote Sgt Schultz) about either of the above.
I rarely if ever use Windwoes Explorer so probably wouldn't miss that particular keystroke/functionality but certainly the above is a killer, indeed.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by