Why do I get "Maximum number of users reached for Stateflow" even when I have appropriate license?
35 views (last 30 days)
Show older comments
MathWorks Support Team
on 8 May 2019
Edited: MathWorks Support Team
on 12 Feb 2021
The license has all the products which we need for further developments. The license checks out when we run "license checkout stateflow" command but while simulating a model, I am getting the following error message
ERROR: "Maximum number of users reached for Stateflow. Defaulting to demonstration version of stateflow".
After the above message, on trying to run a stateflow model, we get
ERROR: "Cannot compile/simulate this model with a demo Stateflow License".
What could be the reason for above messages and how do we resolve it?
Accepted Answer
MathWorks Support Team
on 18 Nov 2020
Edited: MathWorks Support Team
on 12 Feb 2021
The reason is that the user has demo licenses along with the valid licenses.
Run the following command in MATLAB to find the license file path.
>> feature lmsearchpath
Then, go to each location and delete the demo licenses. These are usually named "trial_(licensenumber).lic"
Note: This issue can also occur if you can not properly licensed for Simulink test. If you see any error requiring Simulink test be sure you have the license for Simulink test and Simulink test is installed
0 Comments
More Answers (0)
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!