[51] | 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 update_menu</title> |
---|
| 6 | <meta name="keywords" content="update_menu"> |
---|
| 7 | <meta name="description" content="'update_menu': find an input string in a menu, add it to the menu at the penultimate position if it does not exist"> |
---|
| 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="index.html">.</a> > update_menu.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 . <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> |
---|
| 19 | |
---|
| 20 | <h1>update_menu |
---|
| 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>'update_menu': find an input string in a menu, add it to the menu at the penultimate position if it does not exist</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 menu_str=update_menu(handle,strinput) </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">'update_menu': find an input string in a menu, add it to the menu at the penultimate position if it does not exist |
---|
| 31 | ----------------------------------------------- |
---|
| 32 | function menu_str=update_menu(handle,strinput) |
---|
| 33 | |
---|
| 34 | OUTPUT: |
---|
| 35 | menu_str: new menu; cell of strings |
---|
| 36 | |
---|
| 37 | INPUT: |
---|
| 38 | handle: handle of the menu to modify (listbox uicontrol) |
---|
| 39 | strinput: char string to detect or add in the menu</pre></div> |
---|
| 40 | |
---|
| 41 | <!-- crossreference --> |
---|
| 42 | <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
| 43 | This function calls: |
---|
| 44 | <ul style="list-style-image:url(../matlabicon.gif)"> |
---|
| 45 | </ul> |
---|
| 46 | This function is called by: |
---|
| 47 | <ul style="list-style-image:url(../matlabicon.gif)"> |
---|
| 48 | <li><a href="get_field.html" class="code" title="function varargout = get_field(varargin)">get_field</a> 'get_field': display variables and attributes from a Netcdf file, and RUN selected fields</li><li><a href="series.html" class="code" title="function varargout = series(varargin)">series</a> 'series': master function associated to the GUI series.m for analysis field series</li><li><a href="uvmat.html" class="code" title="function varargout = uvmat(varargin)">uvmat</a> 'uvmat': function associated with the GUI 'uvmat.fig' for images and data field visualization</li></ul> |
---|
| 49 | <!-- crossreference --> |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | <hr><address>Generated on Wed 10-Mar-2010 20:42:36 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> © 2003</address> |
---|
| 54 | </body> |
---|
| 55 | </html> |
---|