Add_block does not copy break point information

When I use the command add_block in a script to create a test harness the information about the breakpoints in Stateflow is not correctly copied, how can I ensure that the break point information is copy into the new model?

댓글 수: 2

Jonas
Jonas 2020년 8월 26일
You may want to open a Service ticket for this question, because I feel like this functionality is not in Simulink and could be an enhancement proposal. In the meantime, maybe anyone else knows how to add breakpoints in Stateflow programmatically.
Alvaro
Alvaro 2020년 8월 26일
Thanks Jonas, at the end I preferred to create a script taht reads all breke points on the original Stateflow and create then on the same states or transition on the new after add_block.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2020년 8월 24일

댓글:

2020년 8월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by