Log some resolved signals
显示 更早的评论
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 个评论
Walter Roberson
2022-9-10
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
2022-9-10
回答(1 个)
Walter Roberson
2022-9-10
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Data Logging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!