필터 지우기
필터 지우기

Why might Matlab not be recognising scripts in current folder (path)?

조회 수: 11 (최근 30일)
Luís Lamas
Luís Lamas 2017년 2월 4일
답변: Walter Roberson 2017년 2월 4일
I am running a concurrent License. Toolboxes are installed according to 'ver' command. The scripts I am trying run are in the path, however, whenever I run a scrip the message ' undifined function or variable 'xxxxx'.' comes up. Commands work line by line but as soon as a Matlab function (or another script) are called I stop beeing able to run them.
Not sure what is going on. Could this be a license issue? Doesn't seem so as commands are working....
Any help would be great! Thanks.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 2월 4일
  • your scripts might be changing directory
  • your scripts might be altering the path
  • your script name (or the directory you are in) might just happen to match the name of one of the MATLAB directories used for toolboxes; in such a case MATLAB might get confused and think they are part of MATLAB and that you need a license for the toolbox it believes they are
What does which -all of the name show when it fails?

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by