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