Using 'From Multimedia File', how to split the channels
Mostrar comentarios más antiguos
When using the 'From Multimedia File' and a stereo audio file in simulink, how can you take the output of the block and split into two matrices. (eg. output is 256x2 and is split into two matrices of 256x1). My last resort would be to load the file first into a workspace and then get the matrix from there, but I would like to avoid that
What I have tried and didnt work: Demux Direct lookup table Matrix Multiply
Any way to do this?
thanks J
Respuesta aceptada
Más respuestas (2)
Doug Eastman
el 24 de Oct. de 2011
0 votos
Demux only works with vectors, but this signal is a matrix. You can use two Selector blocks. Set the input dimensions to 2, select all from the first index and 1 from the second index for the first block, 2 for the second block.
1 comentario
Jesse
el 25 de Oct. de 2011
Categorías
Más información sobre Signal Import and Export en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

