Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Kepler
Kepler el 10 de Sept. de 2021
Comentada: Kepler el 17 de Sept. de 2021
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.

Respuestas (1)

stozaki
stozaki el 10 de Sept. de 2021
Hello,
You can update the model block by using the following function.
Simulink.ModelReference.refresh

Categorías

Más información sobre Component-Based Modeling en Help Center y File Exchange.

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by