??? Error: The expression to the left of the equals sign is not a valid target for an assignment.
Mostrar comentarios más antiguos
if obj=L;
[y fs]=wavread('tl.wav');
player=audioplayer(y,fs);
play(player)
else if obj=R;
[y fs]=wavread('tr.wav');
player=audioplayer(y,fs);
play(player)
else if obj=F;
[y fs]=wavread('mf.wav');
player=audioplayer(y,fs);
play(player)
else if obj=B;
[y fs]=wavread('mb.wav');
player=audioplayer(y,fs);
play(player)
else
[y fs]=wavread('s.wav');
player=audioplayer(y,fs);
play(player)
end
end
end
end
end
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Environment and Settings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!