필터 지우기
필터 지우기

matlab automation server pathdef?

조회 수: 2 (최근 30일)
Mark Cafaro
Mark Cafaro 2012년 1월 31일
When I run matlab as an automation server (matlab -automation) in Windows 7, the automation server does not have the same path as matlab run regularly.
When I run pathdef in the automation server command line, the correct pathdef shows but functions in folders in that pathdef are not available to the automation server. All of these folders are listed in my $matlabroot/toolbox/local/pathdef.m. No other pathdef.m file exists anywhere.
Does anyone have any clue as to what is going on here?
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2012년 1월 31일
1) Do you have multiple versions of MATLAB installed? If yes, you need to make sure that your working version and the automation server version is the same.
2) What happens when you run "which <functionname>" - this should return the path to the function and will tell you if MATLAB can find it on its path. If it does find it, but still doesn't let you run it, it could be a license checkout issue.

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

답변 (0개)

카테고리

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