view m-toolbox/classes/+utils/@helper/warn.m @ 1:2014ba5b353a
database-connection-manager
Remove old code
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Sat, 03 Dec 2011 18:13:55 +0100 (2011-12-03)
parents
f0afece42f48
children
line source
+ − % WARN prints the warning message to the MATLAB terminal and to the
+ − % workbench console.
+ − %
+ − % CALL: utils.helper.warn(message)
+ − %
+ − % INPUTS:
+ − % message - the warning message string to print
+ − %
+ − %
+ − % M Hewitson 04-02-10
+ − %
+ − % $Id: msg.m,v 1.10 2010/01/08 14:37:41 ingo Exp $
+ − %
+ −
+ − function warn(msg)
+ −
+ − wb = getappdata(0, 'LTPDAworkbench');
+ − if isa(wb, 'LTPDAworkbench')
+ − wb.addWarningMessage(msg);
+ − end
+ − warning(msg);
+ −
+ − end