Simulation data inspector section of signal

1 回表示 (過去 30 日間)
ALESSANDRO
ALESSANDRO 2023 年 7 月 12 日
回答済み: Prathamesh 2023 年 7 月 27 日
I'm tryng to compareonly a section of two signals with Simulation data inspector but i can't find any settings to do that..
any helps?

採用された回答

Prathamesh
Prathamesh 2023 年 7 月 27 日
Hi,
I understand that you want to compare specific sections of two signals in Simulink data inspector.
I don’t see a direct way of doing this but can be achieved programmatically as shown in the below steps.
  1. Export the signals to be compared to base workspace with “To Workspace block.
  2. Then extract the section of timeseries data to be compared.
  3. Use the functions in “Simulink.sdiin order to set the environment for comparing the signals.
Refer to the first section of the documentation for details about the functions and implementation:
Alternatively, the model can be run in different time steps to get the specific sections and then compare those signals.
Refer to the documentation to get more information on how to compare data on different run.
I hope this resolves your issue.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by