source: trunk/src/disp_uvmat.m @ 747

Last change on this file since 747 was 747, checked in by sommeria, 10 years ago

adpatations to 3D fields

File size: 605 bytes
Line 
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
12function hh=disp_uvmat(title,display_str,checkrun)
13hh=[];
14if checkrun
15    hh=msgbox_uvmat(title,display_str,'');
16else
17    disp([title ': ' display_str])
18end
19   
Note: See TracBrowser for help on using the repository browser.