Unable to load block diagram 'powerlib2'
27 views (last 30 days)
Show older comments
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
Answers (1)
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
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
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');
See Also
Categories
Find more on Composite Components in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!