unexpected compiler error on HDL Coder
3 次查看(过去 30 天)
显示 更早的评论
Hi I got this error (Error using create_file_name_info (line 263) unexpected compiler) when I try with a simple model using a Matlab Function Block in HDL Coder. I have set up the compiler LCC from Matlab. I alsotried with C++ compiler and I get the same error. Could anyone help me with this? thanks
0 个评论
采纳的回答
Tim McBrayer
2012-2-27
The C/C++ compiler setting is not directly used by HDL Coder. The error message you are receiving can only be emitted when compiling your MATLAB Function Block for simulation, and the C compiler is misconfigured. Can you run your model in Simulink?
3 个评论
kaja supriya
2017-12-26
sorry sir i didn't get you..could you please explain it clearly.please..thanks..
Walter Roberson
2017-12-26
Kaja: install a compiler supported by your release of MATLAB and then in MATLAB command
mex -v -setup C
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!