Mercurial > hg > aimmat
annotate aim-mat/gui/aim_getwindowtitle.m @ 4:537f939baef0 tip
various bug fixes and changed copyright message
author | Stefan Bleeck <bleeck@gmail.com> |
---|---|
date | Tue, 16 Aug 2011 14:37:17 +0100 |
parents | 20ada0af3d7d |
children |
rev | line source |
---|---|
tomwalters@0 | 1 % procedure for 'aim-mat' |
tomwalters@0 | 2 % function namestr=aim_getwindowtitle(handles) |
tomwalters@0 | 3 % |
tomwalters@0 | 4 % INPUT VALUES: |
tomwalters@0 | 5 % RETURN VALUE: |
tomwalters@0 | 6 % a string with the current graphics window title |
tomwalters@0 | 7 % |
tomwalters@0 | 8 % plots the current graphic in the GUI or in the current windowhandle |
tomwalters@0 | 9 % |
bleeck@3 | 10 % |
tomwalters@0 | 11 % (c) 2011, University of Southampton |
bleeck@3 | 12 % Maintained by Stefan Bleeck (bleeck@gmail.com) |
bleeck@3 | 13 % download of current version is on the soundsoftware site: |
bleeck@3 | 14 % http://code.soundsoftware.ac.uk/projects/aimmat |
bleeck@3 | 15 % documentation and everything is on http://www.acousticscale.org |
bleeck@3 | 16 |
tomwalters@0 | 17 |
tomwalters@0 | 18 |
tomwalters@0 | 19 function namestr=aim_getwindowtitle(handles) |
tomwalters@0 | 20 |
tomwalters@0 | 21 modus=[];modul=[]; |
tomwalters@0 | 22 str=[handles.info.completesoundfilename]; |
tomwalters@0 | 23 op=handles.info.current_plot; |
tomwalters@0 | 24 if op>1 |
tomwalters@0 | 25 modus='PCP'; |
tomwalters@0 | 26 modul=handles.info.current_pcp_module; |
tomwalters@0 | 27 str=[str ' - ' modus ': ' modul]; |
tomwalters@0 | 28 end |
tomwalters@0 | 29 if op>2 |
tomwalters@0 | 30 modus='BMM'; |
tomwalters@0 | 31 modul=handles.info.current_bmm_module; |
tomwalters@0 | 32 str=[str ' - ' modus ': ' modul]; |
tomwalters@0 | 33 end |
tomwalters@0 | 34 if op>3 |
tomwalters@0 | 35 modus='NAP'; |
tomwalters@0 | 36 modul=handles.info.current_nap_module; |
tomwalters@0 | 37 str=[str ' - ' modus ': ' modul]; |
tomwalters@0 | 38 end |
tomwalters@0 | 39 if op>4 |
tomwalters@0 | 40 modus='STROBES'; |
tomwalters@0 | 41 modul=handles.info.current_strobes_module; |
tomwalters@0 | 42 str=[str ' - ' modus ': ' modul]; |
tomwalters@0 | 43 end |
tomwalters@0 | 44 if op>5 |
tomwalters@0 | 45 modus='SAI'; |
tomwalters@0 | 46 modul=handles.info.current_sai_module; |
tomwalters@0 | 47 str=[str ' - ' modus ': ' modul]; |
tomwalters@0 | 48 end |
tomwalters@0 | 49 if op>6 |
tomwalters@0 | 50 modus='USER'; |
tomwalters@0 | 51 modul=handles.info.current_usermodule_module; |
tomwalters@0 | 52 str=[str ' - ' modus ': ' modul]; |
tomwalters@0 | 53 end |
tomwalters@0 | 54 |
tomwalters@0 | 55 namestr=str; |