- Define input ports with their respective data types set to bus object
- Bus objects need to be defined in the base MATLAB workspace and these objects need to be indicative of the buses which will be used
- https://www.mathworks.com/help/simulink/slref/simulink.bus.createobject.html
- Set the model to take simulation input from the base MATLAB workspace
- https://in.mathworks.com/help/simulink/import-data.html
- This must be performed with "Import" blocks as opposed to "From Workspace" blocks
- Please reference in the attached model the "Data Import/Export" configuration parameters for a more specific example
How Do I Feed "logsout" Data Back into a Subsequent Simulation Using Buses?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 2 de Jul. de 2020
Editada: MathWorks Support Team
el 7 de Oct. de 2020
How do I feed "logsout" data back into a subsequent simulation as an input using buses?
Respuesta aceptada
MathWorks Support Team
el 7 de Oct. de 2020
Editada: MathWorks Support Team
el 7 de Oct. de 2020
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:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Load Signal Data for Simulation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!