Unable to load block diagram 'powerlib2'

I have downloaded a simulink program from net and tried to run,but i get the error Unable to load block diagram 'powerlib2' ,please tell how to rectify it

4 commentaires

TAB
TAB le 14 Sep 2012
Modifié(e) : TAB le 14 Sep 2012
I seems that model is using some block from the library or toolbox (may be SimPowerSystem or SimElectronics toolbox) which is not installed in your simulink.
kash
kash le 14 Sep 2012
I have uploaded my file here
please tell which block is not installed am using r2010a
TAB
TAB le 14 Sep 2012
Modifié(e) : TAB le 14 Sep 2012
My PC's web filter is not allowing to access the site. Sorry !
kash
kash le 14 Sep 2012

Connectez-vous pour commenter.

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 14 Sep 2012
Modifié(e) : Azzi Abdelmalek le 14 Sep 2012

0 votes

it seems that powerlib2 is obsolete after matlab 2007a.

6 commentaires

kash
kash le 14 Sep 2012
Azzi i hae uploaded my .mdl file can u tell how that error can be rectified please
kash
kash le 14 Sep 2012
I dont have any command there plz check the link
Azzi Abdelmalek
Azzi Abdelmalek le 14 Sep 2012
You can see that the block "ad lin" (vol1,vol2,...), (foreground - - in red ) which means this block is not available, because the lib model where it can be found does'nt exist in your folder, ask who did this model, to add it.
Azzi Abdelmalek
Azzi Abdelmalek le 14 Sep 2012
Modifié(e) : Azzi Abdelmalek le 14 Sep 2012
it seems that powerlib2 is obsolete after matlab 2007a.
Kaustubha Govind
Kaustubha Govind le 14 Sep 2012
Modifié(e) : Kaustubha Govind le 14 Sep 2012
To clarify further, as per Arnaud's comment on that page: you need to open the model in R2006b or earlier, convert it to powerlib3 with psbupdate, save it. You should then be able to open it up in R2008a or later versions.
yulin zhang
yulin zhang le 28 Jan 2024
% 打开新的Simulink模型
model = 'three_node_system';
new_system(model);
open_system(model);
% 添加同步发电机
generator = 'Simscape/Electrical/Specialized Power Systems/Electrical Machines/DC Machine';
add_block(generator, 'three_node_system/Generator');

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simscape Electrical dans Centre d'aide et File Exchange

Tags

Question posée :

le 14 Sep 2012

Commenté :

le 28 Jan 2024

Community Treasure Hunt

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

Start Hunting!

Translated by