How to solve the issue of scope (simulink) and mfile?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hai guys,
I have a question. I run my simulation using the simulink and use scope to display the result. Then I plot the results in m. file. However, something weird happened. As you can see in the figure below, that is the result from the scope. The next image is the figure from the m file. I don't know why there is a small overshoot at the end of the mfile. I've tried to change the data, but it doesn't work. Could anyone help me about this? i'm so clueless.
Thanks Siti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166113/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166116/image.png)
댓글 수: 1
Saurabh Gupta
2017년 7월 20일
I am assuming that you are referring to the small vertical dark blue line at Time=20. It is difficult to tell the reason without looking at the data. Could you please share a MAT file that could be used to reproduce the same?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 View and Analyze Simulation Results에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!