Hi!
I have contacted the Technical Support Center and this is the solution for this issue:
The error you are encountering is likely the result of not installing the correct version of MATLAB Compiler Runtime. I would suggest obtaining a new MATLAB Runtime Installer by following one of the two steps below:
1. Run the following command and note the download location:
>> compiler.runtime.download
2. Run the following command to obtain a URL which you can open in a web browser to download the correct version:
>> com.mathworks.toolbox.compiler.MatlabRuntimeUtils.getMCRInstallerDownloadURL()
I believe that if you re-download the MATLAB Runtime Installer and specify the new location, this should resolve your issue