Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Functions from the search part are not detected despite correct listing

조회 수: 1 (최근 30일)
walli
walli 2016년 5월 23일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
I'm experiencing the following problem when using Matlab R2012a regarding the search path definitions: When getting the search path information using "path" from the console after program start all relevant folders are listed correctly. Especially the folder "C:\Program Files\MATLAB\R2012a\toolbox\matlab\iofun" is listed which contains important functions to open m-files. Despite the correct entries inside the search path I can't open any m-file with Matlab - If I'm trying to open one I'm getting the error display
Undefinedfunction 'fileparts' for input arguments of type 'char'
I don't have any clue why that happens. The search path definition is correct and until today my Matlab version worked for months without any similar problem. Can somebody help?

답변 (1개)

Star Strider
Star Strider 2016년 5월 23일
My first approach for such problems is to run these functions:
restoredefaultpath
rehash toolboxcache
See the documentation for the functions to see what they do.

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by