选中generate matlab function block(simulink license is required)后运行出错

不选中generate matlab function block(simulink license is required)选项运行正常,但选中后运行出错。
以下为错误信息:
### Begin Verilog Code Generation
### Generating HDL Conformance Report mlhdlc_fir_fixpt_hdl_conformance_report.html.
### HDL Conformance check complete with 0 errors, 1 warnings, and 0 messages.
### Working on mlhdlc_fir_fixpt as mlhdlc_fir_fixpt.v.
### Generating Resource Utilization Report resource_report.html.
Cannot copy corrupted Stateflow block mlhdlc_fir_fixpt_slcfg
Error occurred when running post codegeneration tasks
### Generating HDL Conformance Report mlhdlc_fir_fixpt_hdl_conformance_report.html.
### HDL Conformance check complete with 1 errors, 1 warnings, and 0 messages.
Coder:hdl:post_codegen: Error: failed to run post code generation tasks:
MATLAB:emptyDotAssignment 结构体为空时,点名称结构体赋值非法。请对该结构体使用下标。
MATLAB HDL Coder failed in the post code generation phase. See HDL Coder
conformance report.
Use help codegen for more information on using this command.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Code Generation에 대해 자세히 알아보기

질문:

2019년 5월 7일

Community Treasure Hunt

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

Start Hunting!