Contents     Functions         Previous Next     PDF Index

sdtweb

Purpose

SDT file navigation function.

Description

This function allows opening the SDT documentation, opening classical file types outside Matlab, and source code navigation.

OpenFileAtTag

When not called by a command starting with _, sdtweb opens a file. The main cases are

 sdtweb feutil             % Html documentation of feutil
 sdtweb feutil#Renumber    % at a tag in the HTML file
 sdtweb feutil('renumber') % open .m file at tag 'renumber'
 sdtweb source.c#tag       % source.c file at tag 
 sdtweb file.doc           % opens word for a given file.doc

sdtweb('_path') lists the help search path. sdtweb('_pathReset') redefines preferences.

Utils

sdtweb('_link','callback','comment') creates a clickable link.

sdtweb('_links','callback','comment') creates a clickable link showing just the comment.

sdtweb('_wd',wd0,wd1) recursively searches for a subdirectory of wd0 named wd1. Command option -reset regenerates the underlying directory scan.

sdtweb('_fname',fname,wd0) recursively searches for a file named fname in wd0 or any of its subdirectories, or the current directory.

sdtweb('_find','base_wd','filename') searches for a file within the base working directory.

sdtweb('_tracker','support',979) opens a tracker on the support web site.

_taglist

This commands opens the TagList figure (tree view of your file providing links for source code navigation)

  sdtweb _taglist   % Open taglist of current editor file (if not docked)
  sdtweb _taglist feutil % Open taglist of feutil

Accepted command options are

The coding styles convention associated to the TagList parsing are detailed in section 7.17 (sdtweb('syntax')).


©1991-2016 by SDTools
Previous Up Next