Hi,
You're encountering an error with "CMake" due to a missing build program, such as MinGW. To resolve this issue, follow these steps to install the MinGW-w64 compiler:
- Open MATLAB, and go to the Home tab.
- In the Environment section, click on Add-Ons > Get Add-Ons.
- Search for MinGW or navigate to it from the Features section.
- Install MinGW-w64.
After the installation is complete, set up MinGW as your compiler by running the following command in the MATLAB Command Window:
mex -setup
This should configure MinGW as your default compiler, allowing you to compile and run your MATLAB files without any issues.
For more information about MinGW, you can refer to the following links: