source: trunk/src/disp_uvmat.m @ 767

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

adpatations to 3D fields

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