Unable to load block diagram 'powerlib2'

27 views (last 30 days)
kash
kash on 14 Sep 2012
Commented: yulin zhang on 28 Jan 2024
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 Comments
TAB
TAB on 14 Sep 2012
Edited: TAB on 14 Sep 2012
My PC's web filter is not allowing to access the site. Sorry !

Sign in to comment.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 14 Sep 2012
Edited: Azzi Abdelmalek on 14 Sep 2012
it seems that powerlib2 is obsolete after matlab 2007a.
  6 Comments
Kaustubha Govind
Kaustubha Govind on 14 Sep 2012
Edited: Kaustubha Govind on 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 on 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');

Sign in to comment.

Categories

Find more on Composite Components in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!