Simulink Post Sim Function

2 views (last 30 days)
Ajay krishna Vasanthakumar
Hello Friends,
is there any way to kick start a custom function post simulation ?
What i want to do is i am changing a block paramter in init function ,after simultion i want to change the block paramter again to original
i am unable to do it in StopFcn.I am using matlab 2016b
Thanks in advance

Answers (1)

Fangjun Jiang
Fangjun Jiang on 10 Jun 2020
Edited: Fangjun Jiang on 12 Jun 2020
Try the PostSaveFcn.
  12 Comments
Fangjun Jiang
Fangjun Jiang on 19 Jun 2020
No. Never used this property. I tried it in R2016b. It didn't do what you are expecting.
Ajay krishna Vasanthakumar
Thanks a ton Fangjun =D

Sign in to comment.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!