Changing the Connected MATLAB® Installation
The path of the MATLAB® installation connected to COMSOL Multiphysics is defined during the initial COMSOL installation. To change the MATLAB root path you can either use the COMSOL 6.4 installer or set the MATLAB path in the startup command.
Changing the MATLAB Version Using the Installer
1
2
In the COMSOL Multiphysics 6.4 Installer select Add/Remove Products and Reinstall.
3
4
Click Next until you reach the LiveLink section.
5
Set the MATLAB root directory path in the MATLAB® installation folder field, then click Next.
6
Changing the MATLAB Version in the Launcher
On Windows®, right-click the COMSOL Multiphysics 6.4 with Simulink shortcut icon, and select Properties. In the COMSOL Multiphysics 6.4 with Simulink Properties window edit the Target field with the following:
<COMSOL_ROOT>\bin\win64\comsolmphserver.exe simulink -mlroot <MATLAB_ROOT>
where <COMSOL_ROOT> is your COMSOL installation root directory and <MATLAB_ROOT> is the MATLAB installation root.
On macOS and Linux®, at a terminal enter the command
comsol mphserver simulink -mlroot <MATLAB_ROOT>
where <MATLAB_ROOT> is the MATLAB installation root.