I wanted to use hdl code generation to convert matlab files to verilog but it doesnt work. I perform the examples in the web but it gives always the same error. I've installed SDK 7.1 before-after same error occured at fixed point conv. step.
3 views (last 30 days)
Show older comments
Erdem Özyurt
on 21 Apr 2014
Commented: abdelmalik youns
on 12 Apr 2016
Could not locate the MEX compiler options file mexopts.bat. Run mex -setup to select the MEX compiler and create the MEX options file. Use help fiaccel for more information on using this command. Reference to non-existent field 'summary'.
Error in C:\Program Files\MATLAB\R2013a\toolbox\coder\float2fixed\+coder\+internal\Float2FixedConverter.p>Float2FixedConverter.buildDesign (line 1699)
Error in C:\Program Files\MATLAB\R2013a\toolbox\coder\coder\+coderprivate\Float2FixedManager.p>Float2FixedManager.buildFloatingPointCode (line 102)
Error in C:\Program Files\MATLAB\R2013a\toolbox\coder\coder\private\fpBuildFloatingPointCode.p>fpBuildFloatingPointCode (line 4)
Error in C:\Program Files\MATLAB\R2013a\toolbox\coder\coder\emlcprivate.p>emlcprivate (line 16)
Reference to non-existent field 'summary'.
Error in Float2FixedConverter>buildDesign at 1699
Error in Float2FixedManager>buildFloatingPointCode at 102
Error in fpBuildFloatingPointCode at 4
Error in emlcprivate at 16
Accepted Answer
Tim McBrayer
on 21 Apr 2014
HDL Coder requires a C compiler in order to build MEX objects. The error message is reporting that you have not configured one for your install. Have you run the setup as suggested in the message?
% mex -setup
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!