problem using audioplayer matlab command

Status
Not open for further replies.

Foufou

Member level 5
Joined
Oct 22, 2006
Messages
93
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
1,871
matlab audioplayer

Hi,
I am using audioplayer command under matlab in order to Design a matlab Guide for play, stop and pause of an audio file using the options of the above command.
My problem is when I try to use this command using push button (in matlab guide, callback) the sound is stoped. But using the m file all thing are alright
Can any one help me to solve this problem
The programme:
player=audioplayer(y,Fe,24);
play(player)
where y and Fe are a known variables
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…