two output in one scope

5 ビュー (過去 30 日間)
sajad Tarverdian
sajad Tarverdian 2024 年 1 月 6 日
コメント済み: sajad Tarverdian 2024 年 1 月 6 日
How can I have scope output from one .mdl file with another .mdl file in the same window (for Compare)?
Like the figure below

採用された回答

Paul
Paul 2024 年 1 月 6 日
The easiest way is to log each signal in their respective .mdl file, simulate each, and then plot from the base workspace.

その他の回答 (1 件)

madhan ravi
madhan ravi 2024 年 1 月 6 日
編集済み: madhan ravi 2024 年 1 月 6 日
Using 2 Model Blocks reference one .mdl file and and the other .mdl file (if the model block doesn"t support .mdl format, convert it to .slx) and connect the outputs of each model blocks to one Scope block by this way you can compare both the signals.
See an illustration with a simple example below:
Here Reference1 and Reference2 are model files saved in the path
  1 件のコメント
sajad Tarverdian
sajad Tarverdian 2024 年 1 月 6 日
thanks a lot.

サインインしてコメントする。

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by