Please check if you have the correct version of MATLAB Runtime (MCR) installed. To download MATLAB Runtime, please go to the following link:
If you have installed the correct version of the MATLAB Runtime, this error is most likely because the required MATLAB Runtime is not found on the Windows system path.
To check the system path in Windows 10 or 11:
- Find "Advanced System Settings" using Windows search.
- Click "Environment Variables..."
- Locate the variable "Path" in the "System variables" table. Select it and click "Edit..."
- Ensure that a folder path like the following is located somewhere in the system path. If it is not, add it manually:
C:\Program Files\MATLAB\MATLAB Runtime\R2023a\runtime\win64
C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v90\runtime\win32
.
In some cases, the MCR was not added to the path due to a lack of administrator privileges. In this case, you may not be able to add it to the system path and instead will have to add it to the user path. The user path is appended to the system path when the path is searched; however, you will have to do this for each user account that needs to use the MCR.
Refer to the following link for more information regarding the MATLAB Runtime path, including instructions for Linux and macOS:
In the event that the error still occurs after the above measures, close all instances of MATLAB and try re-running the application.