comparison m-toolbox/classes/@LTPDAworkbench/cb_export2mfile.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 % CB_EXPORT2MFILE export the selected pipeline to an m-file
2 %
3 % CALL: LTPDAworkbench.cb_export2mfile
4 %
5 % M Hewitson 13-11-08
6 %
7 % $Id: cb_export2mfile.m,v 1.2 2010/08/06 19:10:48 ingo Exp $
8 %
9 function cb_export2mfile(varargin)
10
11 wb = varargin{1};
12
13 % get a file name from the user
14 [filename, pathname] = uiputfile('*.m', 'Export pipeline to');
15 if isequal(filename,0) || isequal(pathname,0)
16 else
17 wb.export(fullfile(pathname, filename));
18 end
19
20 end
21