How to refresh selected model block via command line? (not the Ctrl+K function)

3 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

stozaki
stozaki il 10 Set 2021
Hello,
You can update the model block by using the following function.
Simulink.ModelReference.refresh

Categorie

Scopri di più su Component-Based Modeling in Help Center e File Exchange

Prodotti


Release

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by