Using 'From Multimedia File', how to split the channels
显示 更早的评论
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
采纳的回答
更多回答(2 个)
Doug Eastman
2011-10-24
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Signal Import and Export 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

