i connect GPS GYNEO6MV2 module to raspberrypi TX and RX, i am trying get data in MATLAB . but every time i have tried in matlab it return empty matrix or timeout in MATLAB command window.

7 Ansichten (letzte 30 Tage)
mypi = raspi;
myserialdevice = serialdev(mypi,'/dev/ttyAMA0',9600,8,'none',1);
output = read(myserialdevice,10);
i have tried following command in matlab
Pin connection between raspberry pi and GPS are attached
  4 Kommentare
sajid javid
sajid javid am 20 Mär. 2018
please refer me any example related to my topic from simulink or matlab thanks

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Walter Roberson
Walter Roberson am 21 Mär. 2018

Nida Aleqabie
Nida Aleqabie am 25 Jun. 2019
hello
please can you solve your problem and recive data from GPS
can you tell me what you are doing
thank you

Douglas Curcio
Douglas Curcio am 27 Sep. 2019
raspberry pi 3 and greater uses S0 for uart connections
use: myserialdevice = serialdev(mypi,'/dev/ttyS0',9600,8,'none',1);

Kategorien

Mehr zu MATLAB Support Package for Raspberry Pi Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by