Hello evereybody,
With the help of Mathorks Tech Support (thank you, Noé B), I got this solved, going through the following steps:
- Check if the MATLAB Runtime version installed is compatible with the MATLAB version being used. You can use the command "mcrinstaller" to see the installed version and its path.
- Ensure all dependencies and references in the code are correct.
- Remove any Simulink models and code from the MATLAB path since MATLAB Compiler cannot compile Simulink models/code.
- Check if any function in your code is not supported by MATLAB Compiler. You can view this list here.
- Once everything checked and in ordfer, re-compile all libraries you want to use on R-2022b / Win 11