view m-toolbox/classes/@sigBuilder/cb_clearSignals.m @ 42:f90d4f666cc7 database-connection-manager

Cleanup
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 18:04:34 +0100
parents f0afece42f48
children
line wrap: on
line source

% CB_CLEARSIGNALS fires when the user clicks 'clear signals' button
% 
% M Hewitson 19-10-08
% 
% $Id: cb_clearSignals.m,v 1.2 2011/04/08 08:56:35 hewitson Exp $
% 

function cb_clearSignals(varargin)
  
  myh     = varargin{1};
  mainfig = varargin{end};
  
  % get which signals are selected
  mainfig.signals = [];
    
  % refresh list
  refreshSignalList(mainfig);

  
end