Simulink multimedia processing PSK modulation
14 次查看(过去 30 天)
显示 更早的评论
I encounter error when trying part II from the link above. I only use a little part of the example that consists of From Multimedia File, Integer to Bit Converter, Bit to Integer converter and To Audio Device block.
I follow the parameters mentioned in the link but the following error occur:
Error in 'untitled/Integer to Bit Converter': Inputs must be integers in the range 0 to (2^(NBIT) - 1). To use signed integer inputs, set the 'Treat input values as' parameter to 'Signed'.
Details of block parameters:
From Multimedia File
- Inherit sample time from file - Checked
- Samples per audio channel: 1024, Framed based
Integer to Bit converter
- M=16, unsigned, MSB first, double
Bit to Integer converter:
- M=16, unsigned, MSB first, int16
2 个评论
Marco Soto
2022-3-20
I had the same problem but I solved it, I already had in int16 with uint16 I put all with int16 and it is solved
回答(2 个)
Weyder Menezes
2021-5-4
Got it. Try to reduce the interval of "Read Range" on the "From Multimedia File" block. Try to use [1 5000] or less. It worked for me.
1 个评论
Marco Soto
2022-3-20
I had the same problem but I solved it, I already had in int16 with uint16 I put all with int16 and it is solved
Ritesh Kumar Singh
2022-6-11
编辑:Ritesh Kumar Singh
2022-6-11
Error in 'untitled/Integer to Bit Converter': Inputs must be integers in the range 0 to (2^(NBIT) - 1). To use signed integer inputs, set the 'Treat input values as' parameter to 'Signed' How to solve this problem?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!