Bug: Simulink 2019b crashes when accessing plot

조회 수: 24 (최근 30일)
John
John 2020년 2월 7일
편집: Zain Siddavatam 2023년 3월 4일
On OSX (latest version), Simulink 2019b repeatedly crashes when accessing a plotted scope output.
The model is basic: a step connected to a scope.
The plot duration is short at 10 ms.
The plot itself is plotted fine. But, any action (zooming, moving the graph inside the plot) crashes Matlab and Simulink immediately.
This occurs repeatedly, after multiple restarts and such.
Clearly this is a bug of some kind. Has anyone experienced this? Is there a workaround?
  댓글 수: 10
Patrick Wais
Patrick Wais 2020년 10월 27일
Similar problem on Catalina
My Simulink crashes when I click into the scope after opening
The plot in the scope is fine and I can see it, but further zooming etc. leads to a freeze
Dont know what to do
nivek88
nivek88 2020년 12월 17일
Update 3 of r2020b still doesn't show any progress to this :(
Using apps like Magnet or BetterTouchTool for window arrangement should be capable of working with Matlab.
I either have to disable any window managing tool or work with r2017b.
That's sad!

댓글을 달려면 로그인하십시오.

답변 (2개)

Nan Chen
Nan Chen 2020년 11월 14일
I think I have found the reason. That is when you are using some window arrangement tools like MagNet or BetterSnapTool, it will cause the simulink freezed when you access the scope plot. Once I quit the BetterSnapTool, the problem is not happened. It's really strange.
There is a way that you don't have to quit the BetterSnapTool. Just disable it for matlab, and the simulink will work well as well as other apps can using BetterSnapTool as before.
Environment: R2020b and Big Sur 11.01
  댓글 수: 1
nivek88
nivek88 2020년 12월 17일
Especially for Matlab figures a window snapping tool is quite handy. Window managing on macOS has always been difficult and these apps are very useful for that. But yeah, you have to decide and make the cut for either of the options: no window snapping or r2017b.
So, why pay for newer software? Stick to r2017b!

댓글을 달려면 로그인하십시오.


Madhur Tiwari
Madhur Tiwari 2020년 5월 5일
Try this link:
Also, I recommend turning off all types of window snapping apps. Even the ones that are not popular or mentiioned in the discussions. I was using Cinch app and removing it solved the plotting issue.
  댓글 수: 1
Zain Siddavatam
Zain Siddavatam 2023년 3월 4일
편집: Zain Siddavatam 2023년 3월 4일
I agree, for some reason MATLAB doesn't work well with window snappers

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by