Log some resolved signals
Show older comments
I have a model with bunch of resolved signals, I need to run the model several times and each time I need to log some signals and save them as dataset, so how I can programmatically log some signals using signals names ?
2 Comments
Walter Roberson
on 10 Sep 2022
When you say "model" do you mean a Simulink model? A Simscape model?
Has the model been configured for single output (as is recommended these days) ?
Mahmoud Abdellatief
on 10 Sep 2022
Answers (1)
Walter Roberson
on 10 Sep 2022
0 votes
https://www.mathworks.com/help/simulink/ug/configuring-a-signal-for-signal-logging.html#bsw9nl4-3 shows how to configure data logging of signals from MATLAB
https://www.mathworks.com/help/simulink/ug/accessing-signal-logging-data.html shows how to access the logging data after simulating a model.
1 Comment
Mahmoud Abdellatief
on 10 Sep 2022
Categories
Find more on Data Logging 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!