Simulink to HDL
3 ビュー (過去 30 日間)
I have a Simulink block model which I want to generate HDL code from. The version of Matlab I am using is R2009b. Once I start generating HDL code, I get errors saying that this release does not support matrices.
What is the solution to this?
回答 (2 件)
Tim McBrayer 2012 年 3 月 13 日
You will need to revamp your Simulink algorithm to not use matrices. This will often mean that you will need to decompose single blocks (such as a matrix multiply) into its component operations.
Kiran Kintali 2021 年 7 月 8 日
編集済み: Kiran Kintali 2021 年 7 月 9 日
>> Error: Evaluation of emission function on class hdldefaults.Subsystem failed with the error message:
>> MATLAB:UndefinedFunction Undefined function 'emit' for input arguments of type 'hdldefaults.Subsystem'.
This error is not expected and has been resolved. Tracked an issue with this signature related to Bus Element Ports (Originated in R2019a) that is fixed in R2019b release.
Can you share your model and the version of MATLAB you are using?