I have made a simple model ('in Normal mode') to give pwm signals to the ESC's .
When i build this model i get a error : 'undefined reference to' px4_ioctl. and some of the makefiles error.
I have followed all the procedure while configuration ,as given in the pixhawk pilot support doc (for MATLAB 2017b).I have used constants and the converted them to uint16 to make it compatible with the pwm block.
it builds till 98% and gives me the error