I have installed the home version of R2017a, installed the Arduino Support Packages for MATLAB and Simulink, as well as the APM2 Simulink Blockset. Installed Support for MinGW-w64 compiler 4.9.2 and successfully compiled the APM2 blocks, which all appear OK in ArduPilot2_lib. Also modified the IO_Wrapper files as specified. However when I try to build the included IMU_Serial_Example.slx model, I get this error: In file included from IMU_Serial_Example.c:2:0: IMU_Serial_Example.h:11:35: fatal error: Simulink_APM2_Wrapper.h: No such file or directory #include "Simulink_APM2_Wrapper.h" This file is clearly on the path. Have I missed something? Any help would be very much appreciated
1 Comment
AMINURRASHID NOORDIN (view profile)
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/332797-apm2-simulink-blockset-compile-problem#comment_475579
Sign in to comment.