comparison m-toolbox/classes/@sigBuilder/sigBuilder.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 % SIGBUILDER is a graphical user interface for building signals using LTPDA
2 % objects.
3 %
4 % CALL: sigBuilder
5 % sigBuilder(h) % build the sigBuilder in the figure with handle, h.
6 %
7 % M Hewitson 18-10-08
8 %
9 % $Id: sigBuilder.m,v 1.2 2011/04/08 08:56:35 hewitson Exp $
10 %
11 classdef sigBuilder < handle
12
13 properties
14 handle = [];
15 signals = [];
16 end
17 properties (SetAccess=private, GetAccess=private)
18 Gproperties = [];
19 SigSelected = [];
20 end
21
22 methods
23 function mainfig = sigBuilder(varargin)
24 % Build the main figure
25 mainfig = buildMainfig(mainfig, varargin{:});
26 % Make the GUI visible.
27 set(mainfig.handle,'Visible','on')
28 end
29 end % End public methods
30
31 methods (Static=true)
32 % Main figure
33 varargout = cb_mainfigClose(varargin);
34 varargout = cb_selectSignalType(varargin);
35 varargout = cb_drawControls(varargin);
36 varargout = cb_addSignal(varargin);
37 varargout = cb_sigListClick(varargin);
38 varargout = cb_sigListSelect(varargin);
39 varargout = cb_removeSignal(varargin);
40 varargout = cb_clearSignals(varargin);
41 varargout = cb_exportCommands(varargin);
42 varargout = cb_buildSave(varargin);
43 varargout = buildSignal(varargin);
44 varargout = cb_buildView(varargin);
45 varargout = cb_buildExport(varargin);
46 varargout = cb_toggleAddState(varargin);
47 varargout = cb_addAll(varargin);
48
49 function sigs = getSignalTypes
50 sigs = {...
51 'Sine Wave', 'white noise', 'chirp', 'Gaussian Pulse', ...
52 'Square Wave', 'Sawtooth', ...
53 'noise generator', ...
54 'polynomial', 'custom'};
55 end
56
57 end
58
59 methods (Access = private)
60 varargout = buildMainfig(varargin);
61 end
62
63 methods (Access = public)
64 end
65
66 end
67
68 % END