My simulink scopes are blank - not even axes are showing

56 visualizaciones (últimos 30 días)
Matthew Davis
Matthew Davis el 29 de Abr. de 2016
Comentada: Achraf el 15 de En. de 2024
I just installed R2016a on my Linux Mint machine.
When I try to look at a signal on a scope in Simulink, I see nothing. The curves are absent and the axes are absent. I know the simulation itself is working, because the Simulation Data Inspector is showing the right curves.
In the top left of the following printscreen you can see a minimum working example. It's just a source going into a scope.
On the right you can see the Simulation Data Inspector showing the correct curve.
On the bottom left is the scope. The contents of the scope is just black. There are no axes or curves.
I have tried tinkering around with the settings on the scope, but to no avail.
Is there something simple I'm missing, or is there a problem with my installation?

Respuesta aceptada

Matthew Davis
Matthew Davis el 29 de Abr. de 2016
I found the solution to my own problem.
There was an error code in the main Matlab console.
MATLAB has experienced a low-level graphics error, and may not have drawn correctly.
Read about what you can do to prevent this issue at Resolving Low-Level Graphics Issues then restart MATLAB.
To share details of this issue with MathWorks technical support,
please include this file with your service request.
The error message had a link to this page. I followed the instructions on there.
Typing
opengl info
gave:
Version: ''
Vendor: ''
Renderer: 'None'
RendererDriverVersion: ''
RendererDriverReleaseDate: ''
MaxTextureSize: 0
Visual: ''
Software: 1
HardwareSupportLevel: 'none'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {}
MaxFrameBufferSize: 0
So clearly there's an issue with opengl and graphics drivers.
I'm fairly sure all my drivers are up to date, so I just resorted to software based opengl. (Which is probably slower, so is not ideal.)
To do that, I typed
opengl('save','software')
Then I restarted Matlab. Scopes now work as exptected.
Typing
opengl info
Now gives
Version: '2.1 Mesa 10.5.2'
Vendor: 'Brian Paul'
Renderer: 'Mesa X11'
MaxTextureSize: 16384
Visual: 'Visual 0x5d, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer…'
Software: 'true'
HardwareSupportLevel: 'none'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 0
Extensions: {156x1 cell}
MaxFrameBufferSize: 16384
  4 comentarios
Avey
Avey el 26 de Jul. de 2023
That solution worked great for me. Thanks
Achraf
Achraf el 15 de En. de 2024
Thank you! it solved the problem for me with Windows 11 Pro

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by