フィルターのクリア

How do I add signal logging for each connection in simscape

6 ビュー (過去 30 日間)
Neeraj Warrier
Neeraj Warrier 2022 年 1 月 22 日
回答済み: vikash 2024 年 8 月 20 日 11:44
I had created a simscape model but i want to add a signal logging for each connection , I am not sure as to how to go ahead with this

回答 (1 件)

vikash
vikash 2024 年 8 月 20 日 11:44
Hi Neeraj,
You can use signal logging to capture signal data from a simulation without adding blocks to your model. When signals are marked for logging, the software displays a logging badge.
To collect and use signal logging data:
  • Enable Signal Logging for Model: In the Modeling pane, select Model Settings. Then in the Data Import/Export tab, select the Signal logging parameter.
  • Mark Signals for Logging: Select the signals in the model and on the Simulation tab, click Log Signals.
  • Simulate Model and View Data: Simulate the model. On the Simulation tab, under Review Results, click Data Inspector. In the Simulation Data Inspector, select the signals to add the signal data to the plot area.
Please refer to the following documentation on Save Signal Data Using Signal Logging - MATLAB & Simulink (mathworks.com) for info on signal logging.

カテゴリ

Help Center および File ExchangeData Logging についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by