2011. 3. 20. 01:57

m파일 실행시 matlab의 editor로 바로 연결시키기

MATLAB을 새로 설치하고나서 m-file의 연결프로그램이 MATLAB의 editor로 되어있지 않아 이를 해결하는 방법을 찾아보던 중 mathworks 홈피에서 찾은 내용



This link is designed to execute MATLAB commands.

You have clicked on a link originally designed to execute MATLAB commands. However, these links do not work in a Web browser. You can run the command by entering the following in the MATLAB command window:

 commandwindow; cwd=pwd; cd([matlabroot '\toolbox\matlab\winfun\private']); fileassoc('add','.m') ;cd(cwd); disp('Changed Windows file association. M-files are now associated with MATLAB.')



 

http://www.mathworks.com/help/techdoc/matlab_env/rmvd_matlablink__14.html

 


윈도우 7의 경우 매트랩을 관리자 권한으로 실행 후 입력해 주어야 한다.