Add_block does not copy break point information

1 view (last 30 days)
Alvaro
Alvaro on 24 Aug 2020
Commented: Alvaro on 26 Aug 2020
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
Jonas
Jonas on 26 Aug 2020
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 on 26 Aug 2020
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

Find more on Modeling in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!