matlab automation server pathdef?

1 vue (au cours des 30 derniers jours)
Mark Cafaro
Mark Cafaro le 31 Jan 2012
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 commentaire
Kaustubha Govind
Kaustubha Govind le 31 Jan 2012
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by