source: startup.m @ 2

Last change on this file since 2 was 2, checked in by tjniskan, 12 years ago
  • Imported first revision
File size: 2.2 KB
Line 
1%% This is a script m-file that will be run each time Matlab is started,
2%% provided that this file is in the Matlab search path (see PATH
3%% command).
4
5% If there appears any graphical anomalities when running ANALYZE2, try to
6% some of the following OpenGL workarounds. If you experience some of the
7% symptoms descriped below uncomment the line under it and restart Matlab.
8
9%% -----------------------------------------------------------------
10
11% OpenGLClippedImageBug Symptom: Images (as well as colorbar displays) do
12% not display when the Renderer property set to opengl. In ANALYZE2 this is
13% seen as missing images, i.e. there are no images and no error messages
14% when data is opened into ANALYZE2. This seams to be very common issue with
15% some integrated graphics found mostly in Notebook computers (especially
16% SiS graphics adapters).
17
18%opengl('OpenGLClippedImageBug',1)
19
20%% -----------------------------------------------------------------
21
22% OpenGLEraseModeBug
23% Symptom: Erasemodes other than "normal" do not function properly. In
24% ANALYZE2 this is seen as flashing of the text and crossbars over the
25% image. This seems to be common with NVidia (GeForce) graphics
26% adapters.
27
28%opengl('OpenGLEraseModeBug',1)
29
30%% -----------------------------------------------------------------
31
32% OpenGLBitmapZbufferBug:
33% Symptom: text with background color (including data tips) and text
34% displayed on image, patch, or surface objects is not visible when using
35% OpenGL renderer.
36
37%opengl('OpenGLBitmapZbufferBug',1)
38
39%% -----------------------------------------------------------------
40
41% OpenGLWobbleTesselatorBug:
42% Symptom: Rendering complex patch object causes segmentation violation
43% and returns a tesselator error message in the stack trace. (Probably
44% does not occur with ANALYZE2, because it doesn't use complex patch objects)
45
46%opengl('OpenGLWobbleTesselatorBug',1)
47
48%% -----------------------------------------------------------------
49
50% OpenGLLineSmoothingBug
51% Symptom: Lines with a LineWidth greater than 3 look bad.
52
53%opengl('OpenGLLineSmoothingBug',1)
54
55%% -----------------------------------------------------------------
56
57% OpenGLDockingBug
58% Symptom: MATLAB crashes when you dock a figure that has its Renderer
59% property set to opengl.
60
61%opengl('OpenGLDockingBug',1)
62
63
64
Note: See TracBrowser for help on using the repository browser.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008