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 Comments

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.
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.

Sign in to comment.

Answers (0)

Categories

Products

Release

R2019b

Asked:

on 24 Aug 2020

Commented:

on 26 Aug 2020

Community Treasure Hunt

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

Start Hunting!