MATLAB: Does the web app which I uploaded to the web app server say “Wrong platform”

ctfMATLAB Compilerplatformweb

I recently compiled an application using the Web App compiler and uploaded the CTF file to a Web App server on a different machine. The CTF file uploaded correctly, but when I go to the Web App home page, the app just says "Wrong platform" on it. Why is this?

Best Answer

The "Wrong platform" message indicates that the platform on which the application was compiled in not compatible with the platform on which you are deploying the Web App. Please make sure that you are deploying your Web App on the same platform on which it was compiled (Linux->Linux, Windows->Windows, etc.).

If you are unsure of which platform your app was compiled using, you can unzip your CTF archive and check the metadata. There should be a field called "platform" which lists the platform on which your app was compiled.

Related Question