MATLAB: How Do I Feed “logsout” Data Back into a Subsequent Simulation Using Buses

busbusesinportinputlogsoutobjectssimulationsimulinksubsequent

How do I feed "logsout" data back into a subsequent simulation as an input using buses?

Best Answer

Please find attached a simple example model demonstrating how to feed "logsout" bus signals back into the model. In order to run the model, please first load the "data.mat" file that is attached as well.
In summary, the following needs to be done: