Undefined Function or Variable 'FunctionNameHere'

조회 수: 4 (최근 30일)
Ioannis Ziogas
Ioannis Ziogas 2020년 4월 20일
댓글: Ioannis Ziogas 2020년 4월 22일
No matter what script i try to run , i get this error.I tried applied the corrections suggested here https://www.mathworks.com/matlabcentral/answers/96005-why-do-i-get-the-error-undefined-function-or-variable .When i try to see one of my script's full path with the which command , it returns the path along with a message %Has no license available.Last time i tried to run something was 3 hours prior this error and there was no problem at all with the same scripts.I have student's license and i'm using MATLAB with RemoteDesktopConnection from my Insitution's servers,so i dont think there is a problem with the license.Any idea what is going on?

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2020년 4월 20일
It sounds like a license issue. You can find it out by running license() with various argument
license('inuse')
license('test','ToolboxName')
license('checkout','ToolboxName')
  댓글 수: 19
Fangjun Jiang
Fangjun Jiang 2020년 4월 22일
편집: Fangjun Jiang 2020년 4월 22일
Could you check if there is a Contents.m in the folder \\fs1, \\fs1\homes, \\fs1\homes\ziogioan, ..., the whole folder chain? If yes, what is in it?
Ioannis Ziogas
Ioannis Ziogas 2020년 4월 22일
No there wasnt such a file,but i think the problem was that i had some functions from toolboxes that i didnt have license for.

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

카테고리

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