My simulink scopes are blank - not even axes are showing

56 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Matthew Davis
Matthew Davis il 29 Apr 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 Commenti
Avey
Avey il 26 Lug 2023
That solution worked great for me. Thanks
Achraf
Achraf il 15 Gen 2024
Thank you! it solved the problem for me with Windows 11 Pro

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Graphics Performance in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by