Window appears while code is runnig
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm trying to create library with some SimPowerSystem blocks. When I use blocks from my library in Simulink model and initialize it by the command
LF=power_loadflow('-v2','model','solve');
in the script the next window appears.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190198/image.png)
How can I avoid that window by auto applying changes to the library? Or may be there is better way to initialize model with users libraries blocks?
Thanks.
0 个评论
采纳的回答
Joel Van Sickel
2020-9-2
Hello Sergey,
you can have library blocks automatically disconnect from a library when you add them to a model. This is not ideal because changes you make to the library won't be updated to these blocks, but it does solve this issue.
View this document and set link status to none: https://www.mathworks.com/help/simulink/ug/creating-block-libraries.html
Regards,
Joel
更多回答(0 个)
另请参阅
类别
在 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!