m*array not supported in hdl code generation
1 回表示 (過去 30 日間)
古いコメントを表示
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 .
0 件のコメント
採用された回答
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.
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!