Altera_Forum
Honored Contributor
18 years agoProblem using DSP builder output block with simulink unbuffer block
Hi,
I am pretty new to DSP bilder. I am trying to use a DWT and IDWT block using DSP builder. My design is receiving the input form matlab workspace (1*4096 data, format double, sampling freq 171 hz), feeding the input through altera INPUT block. Then it's a buffer and data converstion block to propagate the data to the DWT blcok. After that I was trying to obtain the original input signal by following a reverse process. But I am getting the following error from the simulink simulator regarding the altera OUTPUT block: S-function should set the data type of input port 1 of 'test/Output' to the data type specified by the input argument of method mdlSetInputPortDataType. I would appreciate if anyone can help me in this regard. The simulink design file and a snapshot of the design are attached here. Asad.