Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
Add on is listed before install, but user gets this error when trying to use the feature. We use a concurrent license file.

Réponses (2)

Walter Roberson
Walter Roberson le 20 Oct 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 le 17 Jan 2018
Modifié(e) : Walter Roberson le 17 Jan 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 commentaire
Walter Roberson
Walter Roberson le 17 Jan 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by