Window appears while code is runnig
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Sergey Kasyanov
il 30 Apr 2018
Commentato: Sergey Kasyanov
il 3 Set 2020
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.

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 Commenti
Risposta accettata
Joel Van Sickel
il 2 Set 2020
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
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Composite Components in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!