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 个评论

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) ?
Simulink model, I don't know what do you mean about single output, but the model is a subsystem that contains some sub-subsystems, I need to run it as a black box but taking into consideration some signals that are not the output of that model,they are abstracted signals between these sub-subsystems

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2022-9-10

0 个投票

https://www.mathworks.com/help/simulink/ug/accessing-signal-logging-data.html shows how to access the logging data after simulating a model.

1 个评论

Thank you for help, is there another way to programmatically logging the data using resolved signals names instead of using block name and port index ?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Data Logging 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by