MATLAB: Do I get Error “Please contact your Sales Representative or for troubleshooting contact MathWorks Support team at http://www​.mathworks​.com/suppo​rt.”

Polyspace Bug FinderPolyspace Code Prover

Why do I get Error, "Please contact your Sales Representative or for troubleshooting contact MathWorks Support team at https://www.mathworks.com/support.html."

Best Answer

This issue happens when Polyspace Code Prover or Polyspace Bug Finder is unable to locate a valid license. If a license file is present but you are still seeing this error, then the LM_LICENSE_FILE environment variable needs to be updated.
To modify environment variables on Windows, follow these steps:
  1. Right click on “My Computer” and select “Properties”.
  2. Click on the “Advanced System settings” tab on the left pane
  3. Click on the “Advanced” tab.
  4. Click on the “Environment Variables” button.
  5. Set the variables under “System variables”.
  6. Choose the variable "LM_LICENSE_FILE" or "MLM_LICENSE_FILE", whichever one is listed. (If you have both, use "MLM_LICENSE_FILE".)
  7. Click "Edit".
  8. For Variable Value, put the location for the local license file, usually "C:\Program files\MATLAB\R20XXx\licenses\license.lic".
After this, restart Polyspace Bug Finder or Code Prover. Polyspace should launch without issue.