Why am I unable to access a network drive when using the MDCS service in MATLAB Distributed Computing Server 4.1 (R2009a)?

4 次查看(过去 30 天)
I am trying to access a network drive with full UNC pathname through MATLAB Distributed Computing Server 4.1 (R2009a).
I submit my job with a user's credentials. The workers were originally started with admin credentials. I have modified the mdce_def.bat file on the workers and have added MDCEUSER and MDCEPASS for the user.
I submit the following task as part of my job:
taskObj = createTask(jobObj, @isdir, 1, {'\\UNCDirectoryName'});
I expect the result to be '1', indicating that the directory exists. However, I get '0' as the result. This is contrary because the user has full access to the particular network drive.

采纳的回答

MathWorks Support Team
A job submitted to the MATLAB Distributed Computing Server should respect the credentials of the user who submitted it. However, it is possible that the system account does not have access to the UNC share path from the worker nodes.
A possible resolution is to access the MATLAB Distributed Computing Server service on the workers by logging with user credentials, as follows:
1. In Control Panel->Administrative Tools->Services, right click on MATLAB Distributed Computing Server.
2. Select Properties.
3. Select 'Log On' tab. Modify the entry under 'Log on as:' with user's credentials.
MATLAB Distributed Computing Server service on the worker should now be able to access the particular network drive.

更多回答(1 个)

Stephen
Stephen 2015-2-9
Is there somewhere in the documentation that deals with what to do when this suggestion doesn't work in R2013a?

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by