-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmatlab.html
204 lines (167 loc) · 11.6 KB
/
matlab.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Matlab — The Engineering Vibration Toolbox</title>
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Octave" href="octave.html" />
<link rel="prev" title="Python" href="python.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<link rel="apple-touch-icon" href="_static/vtb5_6.png" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head><body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="matlab">
<h1>Matlab<a class="headerlink" href="#matlab" title="Permalink to this headline">¶</a></h1>
<p>The Engineering Vibration Toolbox can be installed by downloading
<a class="reference external" href="https://raw.githubusercontent.com/vibrationtoolbox/vtoolbox/master/vtbud.m">vtbud.m</a> and executing it from within <a class="reference external" href="http://www.mathworks.com">Matlab</a>. Executing it after installation
later updates or removes the toolbox per user selection.</p>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">You will get an error if <code class="docutils literal notranslate"><span class="pre">vtbud.m</span></code> is not in your path.
Installation of the Vibration Toolbox via the easy method may be broken if you have multiple instances of vtoolbox files installed. If you duplicate or otherwise modify the files, please rename them and move them outside the toolbox folder. If that happens, open <code class="docutils literal notranslate"><span class="pre">vtbud.m</span></code> in the <a class="reference external" href="http://www.mathworks.com">Matlab</a> editor and press the F5 key.</p>
</div>
<p>This will download <code class="docutils literal notranslate"><span class="pre">vtoolbox.zip</span></code>, expand it in the desired location, and add the path to it to your default <a class="reference external" href="http://www.mathworks.com">Matlab</a> path.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">After installation has completed you must delete the <code class="docutils literal notranslate"><span class="pre">vtbud.m</span></code> file that you saved. The location is listed in your <a class="reference external" href="http://www.mathworks.com">Matlab</a> console.</p>
</div>
<p>Alternatively, copy and
paste this into your <a class="reference external" href="http://www.mathworks.com">Matlab</a> command console:</p>
<div class="highlight-matlab notranslate"><div class="highlight"><pre><span></span>» <span class="n">urlwrite</span><span class="p">(</span><span class="s">'https://raw.githubusercontent.com/vibrationtoolbox/vtoolbox/master/vtbud.m'</span><span class="p">,</span><span class="s">'vtbud.m'</span><span class="p">);</span><span class="n">vtbud</span><span class="p">;</span><span class="n">delete</span> <span class="n">vtbud</span><span class="p">.</span><span class="n">m</span><span class="p">;</span>
</pre></div>
</div>
<p>and press RETURN.</p>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">If your current working directory is not writable (you don’t own it in the sense of computer security), this line will fail. In that case you need to use the <a class="reference external" href="http://www.mathworks.com">Matlab</a> <a class="reference external" href="https://www.mathworks.com/help/matlab/ref/cd.html">cd command</a> to change to a different directory or manually download <code class="docutils literal notranslate"><span class="pre">vtbud.m</span></code> before you run this line.</p>
</div>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">Do not store any data or personal files inside the vtoolbox directory. They may be deleted or overwritten.</p>
</div>
<p>The current revision status of the <a class="reference external" href="https://vibrationtoolbox.github.io">Engineering Vibration Toolbox</a> for
<a class="reference external" href="http://www.mathworks.com">Matlab</a> can be viewed in the <a class="reference external" href="https://github.com/vibrationtoolbox/vtoolbox">github repository</a> or more easily in the <a class="reference external" href="https://github.com/vibrationtoolbox/vtoolbox/blob/master/vtbud.txt">vtbud.txt</a> file on this website.</p>
<div class="section" id="troubleshooting">
<h2>Troubleshooting<a class="headerlink" href="#troubleshooting" title="Permalink to this headline">¶</a></h2>
<p>A list of updates since 1/1/98
can be obtained for your current version by typing <code class="code docutils literal notranslate"><span class="pre">help</span> <span class="pre">vtbud</span></code> in
Matlab. That can be compared to the <a class="reference external" href="https://github.com/vibrationtoolbox/vtoolbox/blob/master/vtbud.txt">most up-to-date release</a>.</p>
<p>They will load/run on all platforms supported by Matlab. The binary files are all <code class="docutils literal notranslate"><span class="pre">.mat</span></code> files, and the different extensions represent different parts of a project group. To load
them type:</p>
<div class="highlight-matlab notranslate"><div class="highlight"><pre><span></span>» <span class="n">load</span> <span class="n">filename</span> <span class="o">-</span><span class="n">mat</span>
</pre></div>
</div>
<p>where » is the Matlab prompt. <a class="footnote-reference" href="#id2" id="id1">[1]</a> The
filename must include the extension unless it is <code class="docutils literal notranslate"><span class="pre">.mat</span></code>.</p>
<p>If you can’t execute any of the <code class="docutils literal notranslate"><span class="pre">.m</span></code> files (try for
example typing <code class="code docutils literal notranslate"><span class="pre">vtbud</span></code> from the Matlab prompt), they
are either not in the Matlab path, or did not get
transferred in the correct format (unlikely these days). Use the <code class="code docutils literal notranslate"><span class="pre">cd</span></code> command (like DOS) from
within Matlab to move to the <code class="docutils literal notranslate"><span class="pre">vtoolbox</span></code> directory. If
you can see the files using <code class="code docutils literal notranslate"><span class="pre">dir</span></code>, and still cannot execute them, then try
transferring the text files again, being sure that they are transferred in
ASCII (text) format.</p>
</div>
<div class="section" id="removing-the-engineering-vibration-toolbox">
<h2>Removing the Engineering Vibration Toolbox:<a class="headerlink" href="#removing-the-engineering-vibration-toolbox" title="Permalink to this headline">¶</a></h2>
<p>Type <code class="code docutils literal notranslate"><span class="pre">vtbud</span></code> from the Matlab prompt.</p>
<table class="docutils footnote" frame="void" id="id2" rules="none">
<colgroup><col class="label" /><col /></colgroup>
<tbody valign="top">
<tr><td class="label"><a class="fn-backref" href="#id1">[1]</a></td><td>If the prompt looks funny on this web page, set the <em>Character Encoding</em>
(Firefox), <em>Font Encoding</em> (Safari), or <em>Encoding</em> to Unicode: UTF-8.</td></tr>
</tbody>
</table>
<table class="docutils footnote" frame="void" id="id3" rules="none">
<colgroup><col class="label" /><col /></colgroup>
<tbody valign="top">
<tr><td class="label">[2]</td><td>This may not be necessary as compatibility with Matlab has been
improving over the years.</td></tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo">
<a href="index.html">
<img class="logo" src="_static/vtb5_6.png" alt="Logo"/>
</a>
</p>
<p class="blurb">Educational programs for vibration education.</p>
<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="vtoolbox2.html">Download and Installation</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="python.html">Python</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Matlab</a></li>
<li class="toctree-l2"><a class="reference internal" href="octave.html">Octave</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="vtoolbox2.html#using-the-engineering-vibration-toolbox-matlab-and-octave">Using the Engineering Vibration Toolbox (Matlab and Octave</a></li>
<li class="toctree-l1"><a class="reference internal" href="vtoolbox2.html#acknowledgments">Acknowledgments</a></li>
<li class="toctree-l1"><a class="reference internal" href="vtoolbox2.html#license">License</a></li>
<li class="toctree-l1"><a class="reference internal" href="vtoolbox2.html#donate-payment">Donate/Payment</a></li>
<li class="toctree-l1"><a class="reference internal" href="vtoolbox2.html#disclaimer-and-other-stuff">Disclaimer and Other Stuff</a></li>
</ul>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/matlab.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©2015, Joseph C. Slater.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.7.9</a>
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.11</a>
|
<a href="_sources/matlab.rst.txt"
rel="nofollow">Page source</a>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-62100376-2']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>