mphstartcomsolmphserver
Start COMSOL Multiphysics server.
Syntax
[port,pid] = mphstartcomsolmphserver;
[port,pid,proc] = mphstartcomsolmphserver;
[port,pid,proc] = mphstartcomsolmphserver(arguments...);
Description
Start COMSOL Multiphysics server on the local computer. This function is useful when a regular MATLAB session has be started and one wishes to connect to a COMSOL Multiphysics server at a later time.
This function will not return until the COMSOL Multiphysics server has been started and is ready for a connection on port.
The function
mphstartcomsolmphserver
accepts the following property/value pairs:
Table 6-50:
property value for the mphstartcomsolmphserver command.
property
value
default
description
configuration
String
Configuration path
comsolpath
String
COMSOL installation path
data
String
Data path
forcecomsolgcc
off
|
on
off
Force the use of Comsol's GCC libraries
hide
off
|
on
off
Hide COMSOL Multiphysics server window (Windows only)
multi
off
|
on
off
Accept repeated client connections
np
Integer
Number of processors
silent
off
|
on
off
Use the -silent option
timeout
60
Timeout in seconds
On windows the
hide
property can be used to control if the COMSOL Multiphysics server windows should be hidden by setting it to
'on'
. On Linux and Mac the
hide
property is ignored.
If this function can not find the COMSOL installation path the path must be specified using the argument
comsolpath
.