Simulink to HDL

조회 수: 2 (최근 30일)
Amal
Amal 2012년 3월 13일
편집: Kiran Kintali 2021년 7월 9일
Hello,
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
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.
  댓글 수: 1
yass
yass 2021년 7월 8일
i try to generate a simulink model to hdl code but i have receive the following error:
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'.
any solution please

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


Kiran Kintali
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?

카테고리

Help CenterFile Exchange에서 HDL Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by