Can I use an Adafruit GPS Shield with an Arduino on the Matlab and Simulink Support packages?

1 visualización (últimos 30 días)
I have an Arduino UNO and I have an Adafruit GPS Shield. I am trying to use the GPS Shield from Matlab using the Matlab Support Package for Arduino. Since Adafruit always have libraries for their products, I was wondering how I am supposed to install the Library for the shield as the Support Package only allows the Adafruit/MotorControlV2 Library. Any answer or suggestion would be appreciated. Regards, Ahmed

Respuestas (2)

Yeshwanth Devara
Yeshwanth Devara el 7 de Abr. de 2016
Editada: Yeshwanth Devara el 19 de Abr. de 2016
Adafruit GPS shield is not a supported hardware as you can see on the link below: http://www.mathworks.com/hardware-support/arduino-matlab.html
This means that MathWorks will not test the compatibility with this hardware. However, if you were able to detect the device, then you can create custom add-on libraries to use with your Arduino device and attached hardware shields. Refer to the documentation link below:

Maitreyee Mordekar
Maitreyee Mordekar el 5 de Abr. de 2018
Hello,
There is an application example to Read Serial Data from a GPS Shield Using Arduino Hardware for Simulink available from R2018a:
Hope this helps!
  1 comentario
Abdulbaset Eljubrani
Abdulbaset Eljubrani el 15 de Mayo de 2018
Hello Maitreyee I Used this example (Read Serial Data from a GPS Shield Using Arduino Hardware)in R2018a but does not work. Can you help me to solve this problem ..... I got this massage Build process completed successfully Error occurred while executing External Mode MEX-file 'ext_comm': ExtTargetPktPending() call failed while checking for target pkt Component:Simulink | Category:Block diagram error Error occurred while executing External Mode MEX-file 'ext_comm': ExtSetTargetPkt() call failed on CLOSE. Ensure target is still running

Iniciar sesión para comentar.

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by