1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/REC-html40/loose.dtd"> |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <title>Description of sleep</title> |
---|
6 | <meta name="keywords" content="sleep"> |
---|
7 | <meta name="description" content="SLEEP - Same as pause"> |
---|
8 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
9 | <meta name="generator" content="m2html © 2003 Guillaume Flandin"> |
---|
10 | <meta name="robots" content="index, follow"> |
---|
11 | <link type="text/css" rel="stylesheet" href="../../m2html.css"> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <a name="_top"></a> |
---|
15 | <div><a href="../../index.html">Home</a> > <a href="#">applications</a> > <a href="index.html">common</a> > sleep.m</div> |
---|
16 | |
---|
17 | <!--<table width="100%"><tr><td align="left"><a href="../../index.html"><img alt="<" border="0" src="../../left.png"> Master index</a></td> |
---|
18 | <td align="right"><a href="index.html">Index for applications/common <img alt=">" border="0" src="../../right.png"></a></td></tr></table>--> |
---|
19 | |
---|
20 | <h1>sleep |
---|
21 | </h1> |
---|
22 | |
---|
23 | <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> |
---|
24 | <div class="box"><strong>SLEEP - Same as pause</strong></div> |
---|
25 | |
---|
26 | <h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> |
---|
27 | <div class="box"><strong>function sleep(Delay) </strong></div> |
---|
28 | |
---|
29 | <h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> |
---|
30 | <div class="fragment"><pre class="comment">SLEEP - Same as pause |
---|
31 | sleep(Delay [sec]) |
---|
32 | |
---|
33 | Written by Greg Portmann</pre></div> |
---|
34 | |
---|
35 | <!-- crossreference --> |
---|
36 | <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> |
---|
37 | This function calls: |
---|
38 | <ul style="list-style-image:url(../../matlabicon.gif)"> |
---|
39 | </ul> |
---|
40 | This function is called by: |
---|
41 | <ul style="list-style-image:url(../../matlabicon.gif)"> |
---|
42 | </ul> |
---|
43 | <!-- crossreference --> |
---|
44 | |
---|
45 | |
---|
46 | <h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> |
---|
47 | <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function sleep(Delay)</a> |
---|
48 | 0002 <span class="comment">%SLEEP - Same as pause</span> |
---|
49 | 0003 <span class="comment">% sleep(Delay [sec])</span> |
---|
50 | 0004 <span class="comment">%</span> |
---|
51 | 0005 <span class="comment">% Written by Greg Portmann</span> |
---|
52 | 0006 |
---|
53 | 0007 |
---|
54 | 0008 <span class="keyword">if</span> Delay > 0 && ~isempty(Delay) |
---|
55 | 0009 pause(Delay); |
---|
56 | 0010 <span class="keyword">end</span></pre></div> |
---|
57 | <hr><address>Generated on Mon 21-May-2007 15:32:41 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> © 2003</address> |
---|
58 | </body> |
---|
59 | </html> |
---|