How to use a vector of complex data as source in HDL coder?
2 次查看(过去 30 天)
显示 更早的评论
I have a Simulink HDL model of a 4-point DFT that I want to test by feeding it 4 complex number from a constant block of a vector with 4 values, but outputs only the first value for all time samples. Is there way output the vector values on each time sample?
0 个评论
采纳的回答
Bharath Venkataraman
2019-4-10
Attached is a simple model that shows how to stream in a 4 value complex vector one value at a time. The values are split into real and complex so that it is easy to see it in the scope.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDL Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!