Does the large number of input ports of scope block affect?

Does the large number of input ports for scope block affect?
I have a scope with 8 signals, and I am having difficulty controlling the signals in terms of zooming in and out and watching the signal, as the response is very, very slow, and I do not know the reason.
Note: Even the simulation takes time to complete.
Can someone help me please?

回答 (1 件)

Divyansh
Divyansh 2023 年 2 月 27 日

0 投票

Hi Salah,
Generally, the number of input ports of the Scope block doesn't affect the speed of Simulation. However, you can try some of the following steps for a clear display of signals and faster execution of models:
  • Plot every signal in a separate graph. This will help in decluttering your graph and visualizing your signal in a better way.
In the Scope window, click View -> Layout -> Select the layout of the graphs. You can refer to the following image.
  • Use Legend wherever possible. This will help in identifying different signals easily.
  • Using the correct solver will help in speeding up the execution process. Like, in some case choosing a fixed-step solver may be faster compared to discrete-step solver, but it depends upon the model.

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2023 年 2 月 24 日

回答済み:

2023 年 2 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by