the scope in simulink doesn't show some specific signal.
6 次查看(过去 30 天)
显示 更早的评论
the signal after the block of intergration is unplotted by scope who can be used to probe the other signals that I am sure the scope is good.
and the signal unplotted as well as the signal processed from the former one cann't be plotted either.
2 个评论
Sahas
2024-9-4
Can you share the model file? It would help me undertand the issue and assist you better.
回答(1 个)
Jatin
2024-9-4
There can be few reasons for the signal not being plotted in the scope block, kindly see if the following points are helpful to you:
- Make sure the scope block has enough input ports to accommodate all signals you want to plot. You can specify the number of ports in scope block.
- You can adjust the Y-axis limits of the scope to ensure the signal is within the visible range.
If you are sure that the scope block is configured properly, then you can make sure the below points are covered:
- If the system has discontinuities, you can enable zero-crossing detection for better accuracy.
- Ensure simulation time is sufficient to capture signal changes, also check the step size, too large of a step size might miss signal transitions.
If everything looks fine, kindly inspect the signal using Display block or Simulation Data Inspector for any unexpected behaviour.
You can also refer the documentation below for more details on ‘Scope block’:
Hope this Helps!
4 个评论
Sam Chak
2024-9-5
Hi Ed, the reason is probably because some functions at a specific point where the division by zero occurs, is indeterminate 0/0 but it has a limit.
You probably remember L'Hôpital's rule in the Calculus class...
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!