adding folder to the path option

조회 수: 1 (최근 30일)
Karlene Hoo
Karlene Hoo 2012년 11월 9일
I added a new folder to the path option. In this folder I created an m file. The command window cannot find the file. What have I overlooked?

답변 (2개)

Akiva Gordon
Akiva Gordon 2012년 11월 9일
Adding a folder to the MATLAB path adds it only for the current MATLAB session. In order to save this path for a future MATLAB session, be sure to choose "Save" after adding the folder. Is it possible that you have closed MATLAB without saving that path?

Karlene Hoo
Karlene Hoo 2012년 11월 9일
I did choose 'Save'. I even restarted Matlab and the computer. Still no recognition of the file.
  댓글 수: 1
Akiva Gordon
Akiva Gordon 2012년 11월 10일
What was the name of the file that you saved, and how are you calling it in the Command Window?

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

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by