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!