How to initialize start values for variables and then overwrite in simulink
Show older comments
I want to set start values for a list of 37 input variables (Xo(1) to Xo(37)). These should be used for a matlab function that calculates new values for the 37 variables. For the next time step the new calculated values should be used as input data. So the start values have to be overwritten or the model has to know that it should use the setted input data only for the first step. How can I do this in simulink?

Accepted Answer
More Answers (0)
Categories
Find more on Model, Block, and Port Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!