Simulink multimedia processing PSK modulation

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 comentarios

Weyder Menezes
Weyder Menezes el 3 de Mayo de 2021
Same error here... Did you got the solution?
Marco Soto
Marco Soto el 20 de Mzo. de 2022
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

Iniciar sesión para comentar.

Respuestas (2)

Weyder Menezes
Weyder Menezes el 4 de Mayo de 2021

0 votos

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 comentario

Marco Soto
Marco Soto el 20 de Mzo. de 2022
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

Iniciar sesión para comentar.

Ritesh Kumar  Singh
Ritesh Kumar Singh el 11 de Jun. de 2022
Editada: Ritesh Kumar Singh el 11 de Jun. de 2022

0 votos

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?

Categorías

Más información sobre General Applications en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 28 de Dic. de 2019

Editada:

el 11 de Jun. de 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by