Code covered by the BSD License  

Highlights from
uhelp

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 188.22 KB File ID: #26857
image thumbnail

uhelp

by paul koch

 

05 Mar 2010

display a function's HELP or a CELL array in text window

| Watch this File

File Information
Description

  uhelp: display a function's HELP or a CELL array in text window.
  uhelp might be useful as a helper function for guis/toolboxes
 ••••••••••••••••••••••••••••••••••••••••••••••
  FEATURES:
  •HTML-style to display text (words in uppercase and the name of the function within the text appear highlighted
  •use mouse wheel to scroll up/down the text
  •use mouse wheel + control button to change the fontsize
  •change fontstyle and backgroundcolor
  •set window to 'always on top' mode ([aot.m] required from matlab file exchange)
  •multiple window mode possible
  •save fontstyle/color/windowsize parameter within this function for the next call
  
 SYNTAX: uhelp(function) ;%one window mode
           uhelp(cell)
           uhelp(function,1) ;%multiple windows mode
           uhelp(cell,1)
           
  DESCRIPTION:
  uhelp('regexprep'); %replace window mode (default)
  uhelp('regexprep',1) ;%multiple windows mode
  [mousewheel up/down]: scroll text
  [control]+ [mousewheel up/down]: decrease/increase fontsize
  [arrow left]/[arrow right]: decrease/increase fontsize
  
  checkbox : to set window as 'always on top'
  contextmenu :
                [font] -> choose font-size/weight/style from menu
                [backgroundcolor]
                [saveconfig]-> save following parameter in THIS matlab-
               function: - font-size/weight/style
                    - used 'always on top' mode
                    - figure position
                [copy selection]-> copy selection to clipboard
                [evaluate selection]-> ..
  help : opens another textwindow (replace window mode) to depict help
  
 EXAMPLES:
  uhelp uhelp
  uhelp('fft')
  
 NOTE: the following file is required
   FINDOBJ by Yair Altman -->
   http://www.mathworks.com/matlabcentral/fileexchange/14317-findjobj-find-java-handles-of-matlab-graphic-objects
  
  optional: to set window to 'allways on top' download AOT -->
  http://www.mathworks.com/matlabcentral/fileexchange/20694-aot
  --------------------------------------------------
  paul koch,BNIC Berlin 2010

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
FindJObj - find java handles of Matlab graphic objects

MATLAB release MATLAB 7.5 (R2007b)
Other requirements please download FINDOBJ by Yair Altman, http://www.mathworks.com/matlabcentral/fileexchange/14317-findjobj-find-java-handles-of-matlab-graphic-objects
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gui paul koch 05 Mar 2010 10:49:40
guitools paul koch 05 Mar 2010 10:49:40
help paul koch 05 Mar 2010 10:49:40
help function paul koch 05 Mar 2010 10:49:40
text paul koch 05 Mar 2010 10:49:41
textbox paul koch 05 Mar 2010 10:49:41
html paul koch 05 Mar 2010 10:49:41
java paul koch 05 Mar 2010 10:49:41
mouse wheel paul koch 05 Mar 2010 10:49:41
scroll paul koch 05 Mar 2010 10:49:41

Contact us at files@mathworks.com