Unable to load block diagram 'powerlib2'
27 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Azzi Abdelmalek
2012-9-14
编辑:Azzi Abdelmalek
2012-9-14
it seems that powerlib2 is obsolete after matlab 2007a.
6 个评论
Kaustubha Govind
2012-9-14
编辑:Kaustubha Govind
2012-9-14
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
2024-1-28
% 打开新的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');
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Composite Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!