フィルターのクリア

Error during makefile for compilation process

8 ビュー (過去 30 日間)
Abhinav
Abhinav 2013 年 5 月 17 日
Hello, I get compilation error after generating code as given below. The error is persistent even after changing options in configuration parameters-> hardware implementation -> embedded hardware (code generation).
1)
""" Source/..../filename.c #error "code was generated for compiler with different sized ushort/short. Consider adjusting emulation hardware word size settings on Hardware implementation pane... """"
2)
""" Source/..../filename_private.h #error "code was generated for compiler with different sized ushort/short. Consider adjusting emulation hardware word size settings on Hardware implementation pane... """"
The error persists even after making changes to the settings. Need a little help in understanding this code generation toolbox as I'm new to it.
  5 件のコメント
Abhinav
Abhinav 2013 年 5 月 17 日
I have used the generic hardware, with 32 bit.
Abhinav
Abhinav 2013 年 5 月 17 日
does it matter what settings I use, because for other projects even with the default settings(Generic hardware, 32 bit) it worked. will setting these data types really matter for working of the code. when I delete this part of code which generates the error, the software still works fine on the hardware.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by