How to check if my current license support the State flow toolbox?

43 次查看(过去 30 天)
Hello,
I have a state flow block in my simulink model. It's supposed that my current Matlab license supports this toolbox. However when I try to run the simulation the following error appears. It means that my current license doesn't support the state flow toolbox?
Best regards
Javier
  5 个评论
Javier
Javier 2023-6-13
移动:John D'Errico 2023-6-13
Hello,
After typing the command >>ver I obtain the following message (attached):
Seems that the state flow tool box is included in my license right?. Then why I obtain this error?
Steven Lord
Steven Lord 2023-6-13
You could contact your license administrator to check, but I suspect @Image Analyst gave the correct answer.
This could be a one-off scenario (someone who doesn't usually need to use Stateflow happened to need it for a little while) or it could be a sign that your organization may want to increase the number of Stateflow license seats you have (if more people are using Stateflow now than were using it when you first added it to your license, and you encounter this resource contention more and more frequently.)
If your company has 10 parking spots available and 10 employees, if a visitor is using one of them because they're here for a one-off meeting you may not need additional spots long-term. One of the employees would need to park elsewhere for the day. But if your company has 10 parking spots available and it's grown to 15 full-time employees, you probably need a couple more spots.

请先登录,再进行评论。

回答(4 个)

Image Analyst
Image Analyst 2023-6-13
编辑:Image Analyst 2023-6-13
Type
>> ver
in the command window. If you have a license to use a particular toolbox, it will show up after you type that. That command shows you all the toolboxes you can use.
From your error message it looks like you have a shared license pool with 100 licenses for that toolbox, and it looks like there are 100 users currently using it. You'll have to wait for one of them to quit MATLAB, which will release a license back to the pool, so that you can then use it.
  1 个评论
Steven Lord
Steven Lord 2023-6-13
Nothing in the error message refers to 100 licenses, but generally speaking I agree with your diagnosis. The error message indicates that OP's organization has only a certain number of licenses for Stateflow and all of them are currently in use.

请先登录,再进行评论。


Javier
Javier 2023-6-13
I obtain now the following error. It says that I have a demo state flow license??
  1 个评论
Image Analyst
Image Analyst 2023-6-13
It looks like your license is now available but for some reason (that I do not know) what you are trying to do is not available with a "Demo Stateflow" license. Call the Mathworks and ask why not.

请先登录,再进行评论。


Jim Riggs
Jim Riggs 2023-6-13
编辑:Jim Riggs 2023-6-13
The 'ver' command shows all of the toolboxes which are available under the current MATLAB license, but this does not not mean that you have access to all of the toolboxes. To get that information, you can run a test to see if you have access to a licese for a specific toolbox. For example;
status = license('test','Stateflow');
will tell you if you have an active license for the Stateflow toolbox.
Now, the bad news is that the name 'Stateflow' used in the license command is the Matlab feature name, and is not always the same name returned from the 'ver' command. In order to use the 'licence' command, you need to know the feature name. Walter Roberson has compiled a partial list, but it is not complete; see Matlab 'feature' names vs. 'ver' names
  11 个评论
Jim Riggs
Jim Riggs 2023-6-14
I think that your initial error message that you posted explains it. You do not have a checked-out license for the Stateflow toolbox, but you have been assigned a 'demo' license which will only allow you to run demo models. I would have expected the license checkout to indicate that it failed under these conditions.
You should consult with your IT system manager. Perhaps @Steven Lord has some insight on this? (And yes, I am using a Network Named User license)
Steven Lord
Steven Lord 2023-6-14
It's been a very long time since I had to help support licensing issues. [I don't quite think it's decades, plural, but it's probably pretty close.] I second your recommendation that @Javier contact whomever in their IT department is in charge of administering the licenses to determine if one has become available.
If the IT department can't resolve the problem on their own I recommend contacting Technical Support directly using the Contact Support link under the Get Support heading at the end of this page. The Support staff and your IT department should be able to determine why your MATLAB session appears to not be using the correct license.

请先登录,再进行评论。


Javier
Javier 2023-6-14
But according to Capture 3 seems that I have a state flow toolbox installed right?. Otherwise the status shouldn't be "1" right?.
For your info the license that I have is not a pool of shared licenses, the license is just installed in my laptopt
  1 个评论
Jim Riggs
Jim Riggs 2023-6-14
Capture.png says that you have an "example version" of Stateflow that only allows example programs to run.
Likewise, Capture1.png and Capture4.png indicate that you are using a demo license.
Talk to your IT system manager.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by