unexpected compiler error on HDL Coder

2 ビュー (過去 30 日間)
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 件のコメント
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