matlab automation server pathdef?

1 visualizzazione (ultimi 30 giorni)
Mark Cafaro
Mark Cafaro il 31 Gen 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 Commento
Kaustubha Govind
Kaustubha Govind il 31 Gen 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by