Connecting to COMSOL Server™
When using a COMSOL Multiphysics installation with LiveLink for MATLAB the connected is made between MATLAB and a COMSOL Multiphysics Server. It is also possible to connect MATLAB to a COMSOL Server™ if a COMSOL Server™ is available with a LiveLink for MATLAB License.
When using LiveLink for MATLAB with COMSOL Server™ this way MATLAB is installed on the local computer where the user is executing commands and COMSOL Server™ will most often be on another computer that is handled by an IT-department.
In order to be able to connect from MATLAB to a COMSOL Server™ without having COMSOL Multiphysics installed some files must be installed on the computer where MATLAB is installed. This is handled by using the COMSOL Server™ Client installer.
When installing the COMSOL Server™ Client it is important to select LiveLink™ for MATLAB
©
in the installation window.
It is recommended to install Desktop and Start menu shortcuts. If these are not installed, the only way to create a link between MATLAB and COMSOL Server™ is to use the
mphstart
command as previously described for use with COMSOL Multiphysics Server.
After the installation a shortcut is available.
When clicking on this shortcut MATLAB will start and a dialog box appears that makes it possible to connect to the COMSOL Server™ that is already assumed running.
Fill in the missing information and click
OK
to connect.
After a connection has been made the LiveLink work in the same way as it does when connected to a COMSOL Multiphysics Server with these exceptions:
•
Some graphical user interfaces that are included in a regular COMSOL Multiphysics license do not work
•
Plot on the server is not supported, use
mphplot
to plot on a local MATLAB figure.