issue in HDL coding tutorial on Matlab R2012a
显示 更早的评论
Hi all,
I Just installed the HDL coder and was going through the tutorial (sfir filter function and relevant testbench). Float-to-Fixed Workflow ended smoothly but code generation ended with:
### Begin VHDL Code Generation ### Working on mlhdlc_sfir_FixPt as mlhdlc_sfir_FixPt.vhd ### Generating Resource Utilization Report resource_report.html Error occurred when running post codegeneration tasks Error: failed to run post code generation tasks: MATLAB:save:invalidVarName 'Documents\MATLAB\filter_sfir\codegen\mlhdlc_sfir\hdlsrc\codegen_info.mat' is not a valid variable name.
Any idea?
Thanks
回答(2 个)
Tim McBrayer
2014-4-18
0 个投票
'Documents\MATLAB\filter_sfir\codegen\mlhdlc_sfir\hdlsrc\codegen_info.mat' is a partial path. This path probably won't work unless the curfrent working direcctory of MATLAB is the one containing the referenced 'Documents' subdirectory. is that the case?
What are you specifying for your code generation directory, if any? Can you specify an absolute path?
Kiran Kintali
2014-5-17
0 个投票
This is a known issue in R2012a and has been in subsequent releases.
类别
在 帮助中心 和 File Exchange 中查找有关 AMD FPGA and SoC Devices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
