How to refresh selected model block via command line? (not the Ctrl+K function)
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (1)
stozaki
el 10 de Sept. de 2021
Hello,
You can update the model block by using the following function.
Simulink.ModelReference.refresh
Ver también
Categorías
Más información sobre Component-Based Modeling en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!