I am using MatMav for my Pixhawk 2.1.
I downloaded the files and opened it in Matlab.
I tried a few things and they work.
BUT: If I try to arm my object, an error occurs and I have no idea how to fix this.
Can somebody help me?
The Matlab Code (from the MatMav Package)
%% create object
% find available ports
mav.Arm(target,start); // HERE the following error occurs:
Undefined function ‘mavlink’ for input arguments of type ‘char’.
Error in MatMav/Arm (line 1530)
[Buff,~]=mavlink(‘Arming’, agent, flag);
Error in Untitled (line 19)