Last change
on this file since 31 was
2,
checked in by gostiaux, 15 years ago
|
- Initial import
- Add .m files in src
- Add .fig files in src
- Add .xml config files
|
File size:
651 bytes
|
Rev | Line | |
---|
[2] | 1 | %'warndlg_uvmat': display warning message (error, warning, confirmation) in a given figure |
---|
| 2 | %--------------------------------------------------------------------- |
---|
| 3 | % hwarn=warndlg_uvmat(warntext,title) |
---|
| 4 | %--------------------------------------------------------------------- |
---|
| 5 | % OUTPUT: |
---|
| 6 | % hwarn: string representing the file name (including path) |
---|
| 7 | % |
---|
| 8 | % INPUT: |
---|
| 9 | % warntext: text to display |
---|
| 10 | % title: string indicating the type of message box: |
---|
| 11 | % title= 'ERROR', 'WARNING', 'CONFIRMATION' . |
---|
| 12 | |
---|
| 13 | function hwarn=warndlg_uvmat(warntext,title) |
---|
| 14 | hwarn=msgbox_uvmat(title,warntext); |
---|
| 15 | %if isequal(title,'ERROR')||isequal(title,'WARNING') |
---|
| 16 | %delete(hwarn) |
---|
| 17 | %end |
---|
| 18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.