How to refresh selected model block via command line? (not the Ctrl+K function)
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
We can right click a Model Reference block and select Subsystem & Model Reference -> Refresh Selected Model Block.
I am wondering how to implement this action via command line.
Can you help me? Thanks.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/733944/image.jpeg)
0 Kommentare
Antworten (1)
stozaki
am 10 Sep. 2021
Hello,
You can update the model block by using the following function.
Simulink.ModelReference.refresh
Siehe auch
Kategorien
Mehr zu Component-Based Modeling finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!