Error variable(file name) too large while downloading a simulink model on to arduino mega 2560

조회 수: 2 (최근 30일)
i am trying to download a simulink model on to arduino mega 2560. I was able to download other models but for this particular model which is quite compliacted(size too)... i find the following error please help me..
The call to realtime_make_rtw_hook, during the after_make hook generated the following error: cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++(few of these warnings..) &
./omsnac2_data.c:21: error: size of variable 'omsnac2_P' is too large make: * [HardwareSerial.o] Error 1
  댓글 수: 1
tang
tang 2018년 1월 27일
Hello,have you solve this problem?I have the same problem when I test fuzzy control with arduino. Can you tell me how to do.Thank you.

댓글을 달려면 로그인하십시오.

답변 (1개)

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer 2014년 2월 7일
One possible cause : Having Arduino and MATLAB/Simulink software installed on different drive letters. Try installing both on your main drive (e.g., C:\).

카테고리

Help CenterFile Exchange에서 Setup and Configuration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by