Has anyone received this error: Warning: This model has been loaded in Restricted mode. This model cannot have a Simscape Editing Mode of Full because licenses for the following products could not be obtained: Power_System_Blocks
7 次查看(过去 30 天)
显示 更早的评论
Add on is listed before install, but user gets this error when trying to use the feature. We use a concurrent license file.
0 个评论
回答(2 个)
Walter Roberson
2015-10-20
At the MATLAB command prompt command
ver('Power_System_Blocks')
license('inuse')
license('test','Power_System_Blocks')
and let us know what it says.
There is also the possibility that all of the concurrent licenses are used by other people.
0 个评论
Manu
2018-1-17
编辑:Walter Roberson
2018-1-17
>> ver('Power_System_Blocks')
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.3.0.713579 (R2017b)
MATLAB License Number: ••••••
Operating System: Microsoft Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
Warning: No properly formatted Contents.m file was found for 'Power_System_Blocks'.
> In ver (line 54)
>> license('inuse')
matlab
simscape
simulink
>> license('test','Power_System_Blocks')
ans =
0
>>
1 个评论
Walter Roberson
2018-1-17
It turns out that the magic test for 'ver' is
ver('powersys')
for old versions of MATLAB (up to R2011a), and for newer versions
ver('sps')
The name for the license test is still Power_System_Blocks
You do not appear to have a license for Simscape Power Systems; I cannot tell at the moment whether you have it installed without a license.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!