MATLAB: How to show name of current wave file in Matlab GUI

guiwave

Hello
I am programming a very simple program. I have 1000 wave files. My program open a folder, select a sound and play and at the end this sound should be judge. I would like to show the name of the sound which is playing, how should i?with uicontrol or static text or what?
Thanks

Best Answer

If you have a graphics drawing window then you can text() it into place or you can title() it into place. If you do not have a graphics drawing window then you can set the String property of a uicontrol('Style', 'text') to be the file name.