how to convert mfile to vhdl code with out similink model
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
run moves
am 16 Dez. 2013
Kommentiert: Kiran Kintali
am 20 Mai 2020
is mcode block useful to convert of mfile, is the mcode block support the wavread command
0 Kommentare
Akzeptierte Antwort
Tim McBrayer
am 16 Dez. 2013
HDL Coder has supported HDL code generation from MATLAB code since R2012a. However, it does not and will never support the wavread function. The reading of any external file needs to be done by your testbench code. Supporting a complex command like wavread implies a filesystem on external storage, and high-level synthesis to perform external file IO in hardware.
HDL Coder has many image processing demos where the testbench reads an image and passes it into the hardware design. Audio processing is very simpler with this technique. I suggest you study the demos to understand this approach.
2 Kommentare
Tim McBrayer
am 30 Dez. 2013
The relevant part of the error message is:
rls1/RLS FILTER/Frame-Based RLS Filter/Update/Stabilize /in:
Matrices are not supported in this release.
The named signal is a matrix; it has some dimensions MxN. HDL Coder does not support matrices in general, although that is being improved. You will need to convert the data type to either N Mx1, or M 1xN, vectors.
Weitere Antworten (2)
megha billure
am 11 Mär. 2016
i have matlab 2013a. To learn HDL coder, i tried same example given here i.e 'mlhdlc_sfir.m'. but i am getting error in conversion of floating point to fixed point. can you please help me with, the where problem may be. i am getting error while build like Error in Float2FixedConverter>buildDesign at 1699
Error in Float2FixedManager>buildFloatingPointCode at 102 is there installation problem or what..?
1 Kommentar
Kiran Kintali
am 20 Mai 2020
I wonder if you need a C compiler installed in 13a to build mex files. can you try "mex -setup"? Thanks.
Sara Chillali
am 20 Mai 2020
matrices are not supported in this release hdl generete code problemme??
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!