Mercurial > hg > ltpda
annotate m-toolbox/classes/+utils/@helper/displayConstructorExamples.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
rev | line source |
---|---|
0 | 1 |
2 function varargout = displayConstructorExamples(varargin) | |
3 | |
4 % Get the class which we want to display from the input | |
5 cl = varargin{1}; | |
6 | |
7 helpDir = utils.helper.getHelpPath(); | |
8 | |
9 fileName = sprintf('constructor_examples_%s.html#plist', cl); | |
10 file = fullfile(helpDir, 'ug', fileName); | |
11 web(file, '-helpbrowser'); | |
12 | |
13 end |