m*array not supported in hdl code generation

조회 수: 1 (최근 30일)
faizan khan
faizan khan 2014년 4월 6일
댓글: faizan khan 2014년 4월 8일
Frame = imread('C:\Users\F\2.jpg');
[m n a]=size(Frame); blue=zeros(m,n); red=zeros(m,n); green=zeros(m,n);
blue=Frame(:,:,3);
red=Frame(:,:,1);
green=Frame(:,:,2);
the hdl code generation is showing error " Subscription in m*array is not supported " how can i resolve this error .

채택된 답변

Tim McBrayer
Tim McBrayer 2014년 4월 7일
The dimensional slicing that you are attempting to perform is not supported by HDL Coder. If you have a 3D array as shown above, you will need to read your desired dimension pixel by pixel. Even if your array slicing were implemented directly in hardware, it would require a tremendous amount of FPGA wiring and RAM resources.
  댓글 수: 1
faizan khan
faizan khan 2014년 4월 8일
Tim McBrayer ! thanks for your reply
Actually i have made a Matlab code regarding Conceal Weapon Detection using video frames. Now i have to implement it on Fpga Xilinx Virtex-5 . can u please suggest me any lectures or any video tutorials that can help me obtain my goal. I am new in using HDL code generation and Fpga Implementation . i have been trying my level best for a long time searching internet for the material but i was always disappointed. i will be really thankful to u, if u can show me the way ... thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by