With the Simulink® Initialize and Terminate Functions, you can model dynamic start up and shut down behavior. Within these functions, you can use State Reader and State Writer blocks to reset state behavior, which is especially useful for setting initial conditions and saving final conditions in a start up and shut down sequence.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.