Ways for resetting blocks to initial state during simulation

1 view (last 30 days)
Hello,
I'd like to know the possibilities for resetting certain blocks (built-in and S-function) to their respective initial state while a simulation is running or paused.
What I try to achieve is reinitializing certain function-call systems incl. all child blocks/systems without (with minimal) modifications and parameter changes (e.g. 'StatesWhenEnabling').
Currently I know of:
  • Enabling/disabling function-call systems (if 'StatesWhenEnabling' is 'reset'),
  • Certain blocks provide a reset port.
Maybe, is there a way to manually execute 'InitializeConditions' (or equivalent for built-in blocks)?
Thanks for helping,
Pascal

Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!