view m-toolbox/classes/+utils/@helper/err.m @ 48:16aa66670d74
database-connection-manager
Fix LTPDA Preferences tooltip
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Tue, 06 Dec 2011 19:07:27 +0100 (2011-12-06)
parents
f0afece42f48
children
line source
+ − % ERR prints the error message to the MATLAB terminal and to the
+ − % workbench console.
+ − %
+ − % CALL: utils.helper.err(message)
+ − %
+ − % INPUTS:
+ − % message - the message string to print
+ − %
+ − %
+ − % M Hewitson 04-02-10
+ − %
+ − % $Id: msg.m,v 1.10 2010/01/08 14:37:41 ingo Exp $
+ − %
+ −
+ − function err(msg)
+ −
+ − wb = getappdata(0, 'LTPDAworkbench');
+ − if isa(wb, 'LTPDAworkbench')
+ − wb.addErrorMessage(msg);
+ − end
+ − error(msg);
+ −
+ − end