I understand that you are trying to get the audio data from the 'audioplayer' object after it has been instantiated. Here's a link to a similar question which addresses the issue -
Thanks!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!