matlab automation server pathdef?

3 次查看(过去 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 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by