unexpected compiler error on HDL Coder

조회 수: 4 (최근 30일)
Carlos
Carlos 2012년 2월 27일
댓글: Walter Roberson 2017년 12월 26일
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

채택된 답변

Tim McBrayer
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
kaja supriya 2017년 12월 26일
sorry sir i didn't get you..could you please explain it clearly.please..thanks..
Walter Roberson
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개)

Pablo sanchez
Pablo sanchez 2017년 9월 1일
Thanks, its very good solution¡

Community Treasure Hunt

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

Start Hunting!

Translated by