I use the following code to create surface plots:
for 1 = 1:10 figure; surf(peaks); drawnow;end
However, I receive the following error: ERROR: ———————————————————————— Segmentation violation detected at Fri Mar 21 12:11:59 2003 ———————————————————————— Configuration: MATLAB Version: 7.0.0.5523a (R14) Beta 1 Operating System: Microsoft Windows 2000 Window System: Version 5.0 (Build 2195: Service Pack 3) Processor ID: x86 Family 15 Model 2 Stepping 4, GenuineIntel Virtual Machine: Java 1.4.1_01 with Sun Microsystems Inc. Java HotSpot™ Client VM (mixed mode) Register State: EAX = 037909b8 EBX = c0240000 ECX = 03788000 EDX = 037880c0 ESI = 03788000 EDI = 27d0d9d0 EBP = 0149b204 ESP = 0149b160 EIP = 00000000 FLG = 00010206 Stack Trace: [0] atioglxx.dll:0x69034505(0x27e64318, 0x2830d590, 1, 0x2830d501) [1] glren.dll:private: void __thiscall glren::GLRenderEngine::processObjects(struct GObject_tag *)(0x2830d501, 0x20ea5930, 1, 1) + 92 bytes [2] glren.dll:private: void __thiscall glren::GLRenderEngine::RenderSceneRecursive(struct GObject_tag *)(0x27ff5e10, 0x27d16800, 0x20ea5930, 0) + 193 bytes [3] glren.dll:private: void __thiscall glren::GLRenderEngine::RenderScene(struct GObject_tag *)(1, 0x20ea5930, 0x0149b288, 0x7a0a6946) + 278 bytes <snip>
After the error, when I attempt to query OpenGL information using the following command:
opengl info
I receive the following error: ERROR: Could not query OpenGL info.
When I attempt to close MATLAB, MATLAB hangs.
Best Answer