matlab automation server pathdef?
1 view (last 30 days)
Show older comments
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 Comment
Kaustubha Govind
on 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.
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!