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

2 ビュー (過去 30 日間)
SALAH alatai
SALAH alatai 2023 年 2 月 24 日
回答済み: Divyansh 2023 年 2 月 27 日
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 日
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.

カテゴリ

Help Center および File ExchangeView and Analyze Simulation Results についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by