Execute mdce command on one or more remote hosts by transport protocol
remotemdce <
mdce options
>
<flags
> <protocol
options
>
remotemdce <
allows you to execute the mdce service on one or more remote hosts. mdce options
>
<flags
> <protocol
options
>
For a description of the mdce service, see the mdce
reference page.
The following table describes the supported flags and options. You can combined multiple
flags in the same command, preceding each flag by a dash (-
).
Flags and Options | Operation |
---|---|
< | Options and arguments of the mdce command, such as start ,
stop , etc. See the mdce reference page for a full list. |
-matlabroot <installfoldername> | The MATLAB installation folder on the remote hosts, required only if the remote installation folder differs from the one on the local machine. |
-remotehost host1[,host2[,...] | The names of the hosts where you want to run the mdce command. Separate the host names by commas without any white spaces. This is a mandatory argument. |
-remoteplatform { unix | windows } | The platform of the remote hosts. This option is required only if different from the local platform. |
-quiet | Prevent mdce from prompting the user for missing information. The command fails if all required information is not specified. |
-help | Print help information. |
-protocol <
|
Force the usage of a particular protocol type. Specifying a protocol type with all its required parameters also avoids interactive prompting and allows for use in scripts. The supported protocol types are To get more information about one particular protocol type, enter remotemdce -protocol <type> -help For example: remotemdce -protocol winsc -help Using the |
< | Specify particular options for the protocol type being used. |
If you are using OpenSSHd on a Microsoft®
Windows® operating system, you can encounter a problem when using backslashes in path
names for your command options. In most cases, you can work around this problem by using
forward slashes instead. For example, to specify the file
C:\temp\mdce_def.bat
, you should identify it as
C:/temp/mdce_def.bat
.
Start mdce on three remote machines of the same platform as the client:
remotemdce start -remotehost hostA,hostB,hostC
Start mdce in a clean state on two UNIX operating system machines from a Windows operating system machine, using the ssh protocol. Enter the following command on a single line:
remotemdce start -clean -matlabroot /usr/local/matlab -remotehost unixHost1,unixHost2 -remoteplatform UNIX -protocol ssh