MATLAB Answers

APM2 Simulink Blockset compile problem

1 view (last 30 days)
Justin Mellor
Justin Mellor on 30 Mar 2017
Commented: Amir Vahedi on 31 Oct 2020
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
Amir Vahedi
Amir Vahedi on 31 Oct 2020
I have the same problem, have you solved it?
please share the answer

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by