waitForServer
Syntax
Description
waitForServer( waits until the
service server is started up and available to receive requests. Press
Ctrl+C to cancel the wait.client)
waitForServer(
specifies a timeout period in seconds using the name-value pair
client,Timeout=timeoutperiod)Timeout=timeoutperiod. If the service server does not start up in the
timeout period, this function displays an error and lets MATLAB® continue running the current program. The default value of
inf prevents MATLAB from running the current program until the service client receives a service
response.
[
returns a status,statustext] = waitForServer(___)status indicating whether the service server is available,
and a statustext that captures additional information about the
status, using any of the arguments from the previous syntaxes. If the
server is not available within the Timeout, status
will be false, and this function will not display an error.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021b