Prompt user to change MATLAB Job Scheduler password
MATLAB® Job Scheduler cluster object on which password is changing
Character vector identifying the user whose password is changing
changePassword(mjs) prompts you to change
your password as the current user on the MATLAB Job Scheduler cluster represented by cluster object
mjs. (Use the
parcluster function to
create a cluster object.) In the dialog box that opens, you must enter your current
password as well as the new password.
changePassword(mjs,username) prompts you
as the MATLAB Job Scheduler cluster
admin user to change the
password for another specified user. In the dialog box that opens, you must enter
admin password in addition to the user’s new
password. This allows the cluster
admin to reset a password for a
user who is not available or has forgotten the password. (Note: The cluster
admin account was created when the MATLAB Job Scheduler cluster was started with a security level of 1, 2, or
Change Password with a Cluster Profile
Change your password for the MATLAB Job Scheduler cluster identified by a MATLAB Job Scheduler cluster profile called
mjs = parcluster('MyMjsProfile'); changePassword(mjs)
Change Password on a Parallel Pool
Change your password for the MATLAB Job Scheduler cluster on which the parallel pool is running.
p = gcp; mjs = p.Cluster; changePassword(mjs)
Change Password of Another User
Change the password for another user named
admin user can access the MATLAB Job Scheduler from a different session of MATLAB to do this, or change the
Username property of
the cluster object within
john’s MATLAB client session.
mjs = parcluster('MyMjsProfile'); mjs.Username = 'admin' % Generates prompt for admin user password. changePassword(mjs,'john') % Generates prompt for both passwords.
At this point, the
admin user might want to set the session
user back to
mjs.Username = 'john' % Prompted again for password.
Introduced in R2010b