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

조회 수: 2 (최근 30일)
Kepler
Kepler 2021년 9월 10일
댓글: Kepler 2021년 9월 17일
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.

답변 (1개)

stozaki
stozaki 2021년 9월 10일
Hello,
You can update the model block by using the following function.
Simulink.ModelReference.refresh
  댓글 수: 1
Kepler
Kepler 2021년 9월 17일
Thank you. But this function is provided since MALTAB 2020a, while mine is MALTAB 2016b..

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by