How to refresh selected model block via command line? (not the Ctrl+K function)
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
stozaki
2021년 9월 10일
Hello,
You can update the model block by using the following function.
Simulink.ModelReference.refresh
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!