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

4 visualizzazioni (ultimi 30 giorni)
Add on is listed before install, but user gets this error when trying to use the feature. We use a concurrent license file.

Risposte (2)

Walter Roberson
Walter Roberson il 20 Ott 2015
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.

Manu
Manu il 17 Gen 2018
Modificato: Walter Roberson il 17 Gen 2018
>> 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 Commento
Walter Roberson
Walter Roberson il 17 Gen 2018
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.

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by