Matlab HDL coder can not perform to send an image matrix to a matlab function.How to resolve it?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sandip Paul
am 20 Dez. 2019
Beantwortet: Kiran Kintali
am 21 Dez. 2019
--------------------------------------Function which is called--------------------------------------
function [xavg1,xavg,xhr,xvr,xdig] = cameraman_dwt_code1(xr1)
[xavg,xhr,xvr,xdig] = dwt2(xr1,'db3');
xavg1=xavg/255;
--------------------------------------Testbench Code--------------------------------------
x= imread('cameraman.tif');
x1=rgb2gray(x);
xavg11=cameraman_dwt_code1(x1);
imshow(xavg11);
0 Kommentare
Akzeptierte Antwort
Kiran Kintali
am 21 Dez. 2019
'mlhdlc_heq.m' (DUT) and 'mlhdlc_heq_tb.m' (TestBench)
The example files show how to stream image into device under test (DUT). The example shows how to write MATLAB code suitable for HDL code generation for such streaming algorithms.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!