Bug: Simulink 2019b crashes when accessing plot

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 comentarios

Have you upgraded to Update 4 yet? Some Catalina problems got resolved in that upgrade
John
John el 7 de Feb. de 2020
Thanks for the thought. I updated to Update 4, with no change; the issue persists.
The model is attached. As can be seen, there is practically nothing there...
I am not running Catalina so I cannot test this.
John
John el 7 de Feb. de 2020
Thanks Walter. This occured on Mojave as well. I updated to Catalina, and the issue persisted.
Happened to me as well, on both Mojave and Catalina with R2018b and R2019b respectively.
Walter Roberson
Walter Roberson el 19 de Mzo. de 2020
Has anyone happened to test this with R2019b Update 4 or Update 5 ?
Madhur Tiwari
Madhur Tiwari el 5 de Mayo de 2020
My simulink is still crashing when accesing plots via scope on 2020a and Catalina.
Nan Chen
Nan Chen el 23 de Oct. de 2020
I tried the newest r2020b update 1 with the catalina 10.15.7 system on 23 Oct. 2020, and the problem still happens. So I have to use my windows matlab again.
Patrick Wais
Patrick Wais el 27 de Oct. de 2020
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 el 17 de Dic. de 2020
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!

Iniciar sesión para comentar.

Respuestas (2)

Nan Chen
Nan Chen el 14 de Nov. de 2020

3 votos

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 comentario

nivek88
nivek88 el 17 de Dic. de 2020
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!

Iniciar sesión para comentar.

Madhur Tiwari
Madhur Tiwari el 5 de Mayo de 2020

2 votos

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 comentario

Zain Siddavatam
Zain Siddavatam el 4 de Mzo. de 2023
Editada: Zain Siddavatam el 4 de Mzo. de 2023
I agree, for some reason MATLAB doesn't work well with window snappers

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 7 de Feb. de 2020

Editada:

el 4 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by