comparison m-toolbox/html_help/help/ug/trouble_shooting.html @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
3
4 <html lang="en">
5 <head>
6 <meta name="generator" content=
7 "HTML Tidy for Mac OS X (vers 1st December 2004), see www.w3.org">
8 <meta http-equiv="Content-Type" content=
9 "text/html; charset=us-ascii">
10
11 <title>Trouble-shooting (LTPDA Toolbox)</title>
12 <link rel="stylesheet" href="docstyle.css" type="text/css">
13 <meta name="generator" content="DocBook XSL Stylesheets V1.52.2">
14 <meta name="description" content=
15 "Presents an overview of the features, system requirements, and starting the toolbox.">
16 </head>
17
18 <body>
19 <a name="top_of_page" id="top_of_page"></a>
20
21 <p style="font-size:1px;">&nbsp;</p>
22
23 <table class="nav" summary="Navigation aid" border="0" width=
24 "100%" cellpadding="0" cellspacing="0">
25 <tr>
26 <td valign="baseline"><b>LTPDA Toolbox</b></td><td><a href="../helptoc.html">contents</a></td>
27
28 <td valign="baseline" align="right"><a href=
29 "additional_progs.html"><img src="b_prev.gif" border="0" align=
30 "bottom" alt="Additional 3rd-party software"></a>&nbsp;&nbsp;&nbsp;<a href=
31 "userguide.html"><img src="b_next.gif" border="0" align=
32 "bottom" alt="User Guide"></a></td>
33 </tr>
34 </table>
35
36 <h1 class="title"><a name="f3-12899" id="f3-12899"></a>Trouble-shooting</h1>
37 <hr>
38
39 <p>
40
41 A collection of trouble-shooting steps.
42
43 <ol>
44
45 <!-- Java Heap Problem -->
46 <li><h3>Java Heap Problem</h3>
47 <p>
48 When loading or saving large XML files, MATLAB sometimes reports problems due to insufficient heap memory for the Java Virtual Machine.<br />
49 You can increase the heap space for the Java VM in MATLAB 6.0 and higher by creating a <tt>java.opts</tt>
50 file in the <tt>$MATLAB/bin/$ARCH</tt> (or in the current directory when you start MATLAB) containing the
51 following command:
52
53 <tt>-Xmx$MEMSIZE</tt><br /><br />
54
55 Recommended:<br /><br />
56
57 <tt>-Xmx536870912</tt><br /><br />
58
59 which is 512Mb of heap memory.
60 </p>
61 <p>
62 An additional workaround reported in case the above doesn't work: It sometimes happens with MATLAB R2007b on WinXP that after you create the <tt>java.opts</tt> file, MATLAB won't start (it crashes after the splash-screen).<br />
63 The workaround is to set an environment variable <tt>MATLAB_RESERVE_LO=0</tt>.<br /><br />
64
65 This can be set by performing the following steps:
66 <ol>
67 <li>Select <tt>Start->Settings->Control Panel->System</tt></li>
68 <li>Select the "Advanced" tab</li>
69 <li>On the bottom, center, click on "Environment variables"</li>
70 <li>Click "New" (choose the one under "User variables for Current User")</li>
71 <li> Enter<br />
72 Variable Name: MATLAB_RESERVE_LO<br />
73 Variable Value: 0</li>
74 <li>Click OK as many times as needed to close the window</li>
75 </ol><br /><br />
76 Then edit/create the <tt>java.opts</tt> file as described above. You can also specify the units (for instance -Xmx512m or -Xmx524288k or -Xmx536870912 will all give you 512 Mb).
77 </p>
78 </li>
79
80 <!-- LTPDA Directory Name Problem -->
81 <li><h3>LTPDA Directory Name</h3>
82 <p>
83 Problems have been seen on Windows machines if the LTPDA toolbox directory name contains '.'.
84 In this case, just rename the base LTPDA directory before adding it to the MATLAB path.
85 </p>
86 </li>
87
88 <!-- MAX File Problem -->
89 <li><h3>Problems to execute MEX files</h3>
90 <p>
91 User with the operating system "Windows XP" will get trouble if you want to execute MEX files. This happens if you are useing for example the methods 'detrend', 'smoother', 'lpsd', ...<br />
92 You will get the following error:<br />
93 <dl>
94 <dd class="red">??? Invalid MEX-file 'C:\ltpda_toolbox\ltpda\src\ltpda_dft\ltpda_dft.mexw32': <br />
95 This application has failed to start because the application configuration is incorrect.<br />
96 Reinstalling the application may fix this problem.</dd>
97 </dl>
98 You can solve this problem by installing the Microsoft Visual C++ 2008 Redistributable Package. This is necessary because all the MEX files are compiled with Microsoft Visual C++ 2008. You can install this package from the LTPDA toolbox or from the official Microsoft web page.<br /><br />
99 <p>
100 <ul>
101 <li>LTPDA toolbox
102 <ul>
103 <li><a href="matlab:web(['file:///' which('vcredist_x86.exe')])">Windows 32 bit</a></li>
104 <li><a href="matlab:web(['file:///' which('vcredist_x64.exe')])">Windows 64 bit</a></li>
105 You will find the files in the directory: $LTPDA_TOOLBOX_DIR/ltpda/src<br /><br />
106 </ul>
107 </li>
108 <li>Official Microsoft web page
109 <ul>
110 <li><a href="matlab:web('http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en')">Windows 32 bit</a></li>
111 <li><a href="matlab:web('http://www.microsoft.com/downloads/details.aspx?familyid=90548130-4468-4BBC-9673-D6ACABD5D13B&displaylang=en')">Windows 64 bit</a></li>
112 </ul>
113 </li>
114 </ul>
115 </p>
116 </p>
117 </li>
118 </ol>
119
120
121 </p>
122
123 <br>
124 <br>
125 <table class="nav" summary="Navigation aid" border="0" width=
126 "100%" cellpadding="0" cellspacing="0">
127 <tr valign="top">
128 <td align="left" width="20"><a href="additional_progs.html"><img src=
129 "b_prev.gif" border="0" align="bottom" alt=
130 "Additional 3rd-party software"></a>&nbsp;</td>
131
132 <td align="left">Additional 3rd-party software</td>
133
134 <td>&nbsp;</td>
135
136 <td align="right">User Guide</td>
137
138 <td align="right" width="20"><a href=
139 "userguide.html"><img src="b_next.gif" border="0" align=
140 "bottom" alt="User Guide"></a></td>
141 </tr>
142 </table><br>
143
144 <p class="copy">&copy;LTP Team</p>
145 </body>
146 </html>