Why does the Polyspace as You Code not work with an environment variable set?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 8 Jun 2022
Edited: MathWorks Support Team on 8 Jun 2022
This is a known issue in R2021b. To resolve, please use a network.lic as a workaround.
To create a network.lic, you may use one of the two methods below:
  • Convert a license.dat to a network.lic by deleting everything but the first—SERVER—line and replacing it with the USE_SERVER directive.
  • Manually create a network.lic 
    • The network.lic contains two lines: a SERVER line and the USE_SERVER directive.
The end result should look like the following:
SERVER {hostname} {HostID} 27000
USE_SERVER
Note: When creating/saving the network.lic, it must be a LIC file and not a txt file.
Once you have created the network.lic, place it in the \licenses folder where Polyspace is installed.
Where are the license files for MATLAB located?

    More Answers (0)

    Categories

    Find more on Manage Products in Help Center and File Exchange

    Tags

    No tags entered yet.

    Community Treasure Hunt

    Find the treasures in MATLAB Central and discover how the community can help you!

    Start Hunting!