フィルターのクリア

Multiple Inputs Scope in Simunk

101 ビュー (過去 30 日間)
Raymond Le
Raymond Le 2011 年 4 月 17 日
コメント済み: Jorge 2023 年 6 月 24 日
I know that we can use Mux Block to have multiple inputs come into Scope Block. However, I sometimes see models that have Scope Block with multiple inputs and I am really interested in creating one. I attach a sample picture below http://i56.tinypic.com/2qdrkms.png

採用された回答

Paulo Silva
Paulo Silva 2011 年 4 月 17 日
The Scopes already support multiple inputs, just go to the Scope parameters and choose the number of axes (double click on the scope to get the graph up and click the second icon on the toolbar (the one next to the printer))
You can also have a look at the floating scope, bring the graph up and click on the graph, that will open a window where you can select the input signals, no connection will be made to the floating scope but it will draw the selected signals.
  5 件のコメント
Zayan Qazi
Zayan Qazi 2021 年 4 月 1 日
in MATLAB 2020a, we can just right click on the scope. You'll see an option saying 'signals and ports'. Click on that and you can select the number of ports
Jorge
Jorge 2023 年 6 月 24 日
In MATLAB 2023a, we can select the scope and select "SCOPE" from the ribbon toolbar on top. There is a field to specify the number of ports.

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

その他の回答 (1 件)

Vaibhav Saxena
Vaibhav Saxena 2018 年 2 月 6 日
HI, with reference of your images, please use any one of the signal routing ie mux, merge or Bus creator. First connect multiple input signals with signal routing and connect output of it with scope. And run the model. You will get multiple plots in single frame of SCOPE. Note: Always use the same data type signals. It will not work multiple data type signals.
Vaibhav Saxena

カテゴリ

Help Center および File ExchangeScopes and Data Logging についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by