How can I use my gpu to process 3D-Animation on Simulink?

2 views (last 30 days)
I have a fairly simple .WRL animation file and I would like to use my GPU to render the animation. My computer has a quad-core 3.5GHz i5 processor, and my GPU is (obtained when typing opengl info on matlab):
Version: '4.5.0 NVIDIA 355.60'
Vendor: 'NVIDIA Corporation'
Renderer: 'GeForce GTX 960/PCIe/SSE2'
MaxTextureSize: 16384
Visual: 'Visual 0x09, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer...'
Software: 'false'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
Extensions: {337x1 cell}
MaxFrameBufferSize: 16384
However, when I try to run the animation with simulink, the animation itself cannot process anything in real time (it is extremely slow). One way I found to solve this is to disable the GPU (opengl software), so that matlab starts using the graphics from the processor itself:
Version: '1.1.0'
Vendor: 'Microsoft Corporation'
Renderer: 'GDI Generic'
MaxTextureSize: 1024
Visual: 'Visual 0x66, (RGB 24 bits (8 8 8), Z depth 16 bits, Software, Single buffer, Antialias 0 sa...'
Software: 'true'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {3x1 cell}
MaxFrameBufferSize: 0
This works better than the GPU, but I need to keep the animation window small, otherwise the CPU graphics cannot process the animation. Is there any way of enhancing the CPU graphics or switching into GPU for processing this?

Answers (0)


Find more on Graphics Performance in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!