Platform: All Platforms, Windows Versions: All versions

Problem Description

When trying to run a COMSOL model, the following error message appears: Failure loading MATLAB® libraries. This model requires that MATLAB is available.

Solution

  1. 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.
  2. In the Preferences window select LiveLink Connections. In the LiveLink™ for MATLAB® section, in MATLAB® installation folder browse to the desired MATLAB installation root directory.
  3. On Windows®, click Register MATLAB® as COM Server.

See also:
COMSOL with MATLAB does not start with the latest version (kb 1113)