source: trunk/src/disp_uvmat.m @ 1148

Last change on this file since 1148 was 1127, checked in by g7moreau, 12 months ago

Update Joel email

File size: 1.5 KB
RevLine 
[667]1%'disp_uvmat': display a message using  msgbox_uvmat or on the log file in batch mode
2%--------------------------------------------------------------------------
3%
4%  displ_uvmat(title,display_str,checkrun)
5%
6%  INPUT:
7%  title: ='ERROR' or 'WARNING', as requested as input of  msgbox_uvmat.m
8%  display_str: message string to display
9%  checkrun: =1: run mode, use of msgbox_uvmat window
10%  checkrun: =0: batch mode: text display on log file
11
[809]12%=======================================================================
[1126]13% Copyright 2008-2024, LEGI UMR 5519 / CNRS UGA G-INP, Grenoble, France
[809]14%   http://www.legi.grenoble-inp.fr
[1127]15%   Joel.Sommeria - Joel.Sommeria (A) univ-grenoble-alpes.fr
[809]16%
17%     This file is part of the toolbox UVMAT.
18%
19%     UVMAT is free software; you can redistribute it and/or modify
20%     it under the terms of the GNU General Public License as published
21%     by the Free Software Foundation; either version 2 of the license,
22%     or (at your option) any later version.
23%
24%     UVMAT is distributed in the hope that it will be useful,
25%     but WITHOUT ANY WARRANTY; without even the implied warranty of
26%     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27%     GNU General Public License (see LICENSE.txt) for more details.
28%=======================================================================
29
[747]30function hh=disp_uvmat(title,display_str,checkrun)
31hh=[];
[667]32if checkrun
[747]33    hh=msgbox_uvmat(title,display_str,'');
[667]34else
35    disp([title ': ' display_str])
36end
[809]37   
Note: See TracBrowser for help on using the repository browser.