MATLAB Answers

Create matrix 64x64 that supported by HDL coder

1 view (last 30 days)
Maximum on 28 Apr 2014
Answered: Kiran Kintali on 1 Nov 2020
Hi all.
I am having problem with my design. I want to create matrix 64x64. I used user defined function to create my matrix. Then, I want to change it to HDL code using HDL coder. However, when I tried to convert to HDL code,it shows error "Matrices are not supported in this released". How can I create matrix 64x64 that supported by HDL coder.


Chun-Yu on 28 Apr 2014
Which version of HDL Coder are you using? Matrices are not supported in HDL Coder until 14a. Additionally, matrices are not supported at block I/O boundaries, so in 14a, you would have to send in a vector of 4096 elements and reshape it to 64x64 within the MATLAB block.
Maximum on 29 Apr 2014
I used MATLAB 2012b. Is there any possibility that can I can create matrix 64x64 using MATLAB 2012b? Thanks in advance
Chun-Yu on 29 Apr 2014
I'm afraid not -- since 2012b does not support matrices, it will always flatten them into 1D vectors.

Sign in to comment.

Answers (1)

Kiran Kintali
Kiran Kintali on 1 Nov 2020
Performing Large Matrix Operation on FPGA
web(fullfile(docroot, 'hdlcoder/ug/performing-large-matrix-operation-on-fpga-using-external-memory.html'))


Sign in to comment.




Community Treasure Hunt

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

Start Hunting!

Translated by