Problem Description
I have installed a new MATLAB version, but running COMSOL with MATLAB keeps opening the older version of MATLAB.
Solution
You need to manually update the MATLAB root directory path.
In the COMSOL Desktop, on Windows® go to the File menu and select Preferences; on Linux® or macOS, go to the Options menu and select Preferences. In the Preferences window select LiveLink Connections. In the LiveLink™ for MATLAB® you can browse to the new MATLAB® installation folder. For Windows® users, click the Register MATLAB® as COM Server button. Finally click OK and close the COMSOL Desktop.
Please verify the COMSOL Livelink for MATLAB system requirements to ensure the compatibility between the programs. See also: MATLAB function calls fail (kb 1093)
COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.